typeofv2
v1.0.0
Published
A simple type checking module for JavaScript 😆
Maintainers
Readme
typeofv2
A simple type checking module for JavaScript 😆
Installation
npm install typeofv2 --save
or
yarn add typeofv2Example
const typeofv2 = require('typeofv2');
typeofv2.isArray([]) // true
typeofv2.isObject({}) // trueAll Method
- isArray
- isBoolean
- isNull
- isUndefined
- isNumber
- isString
- isSymbol
- isObject
- isRegExp
- isDate
- isError
- isFunction
- isPrimitive
- isBuffer
