🎯Type-checking for 'Primitive' JS Types
typeof and make the check by yourself. Or you can user 🎯
The usage is simple and verbose. The tests has full coverage and you can use without a doubt.
isObject()(Remember: in JS, Arrays are Objects!)
js-is-type is available on npm/yarn:
$ npm install @codevor/js-is-type --save$ yarn add @codevor/js-is-type
;const names = 'Alice' 'Bob';; // => true
const isArray = isArray;const names = 'Alice' 'Bob';; // => true
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Bugs and Sugestions
Report bugs or do suggestions using the issues.