mesqueeb / is-what

JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
https://mesqueeb.github.io/is-what/
MIT License
169 stars 18 forks source link

Add isOneOf #17

Closed thewilkybarkid closed 3 years ago

thewilkybarkid commented 3 years ago

Adds a function to allow a value matching at least one of a list of type guards.

mesqueeb commented 3 years ago

@thewilkybarkid thanks so much! Nice PR!!

mesqueeb commented 3 years ago

@thewilkybarkid live on NPM now

thewilkybarkid commented 3 years ago

Fantastic, thanks!