multi-typeof
Check something against an array of types.
Install
$ npm install --save multi-typeof
Example
var multiTypeof = ; if ! throw 'Expected a string or an array';
API
multiTypeof(input, types)
input
Required
Type: Any type
Value to test.
types
Required
Type: array
Types to check against.
License
MIT © Andreas Gillström