typeofv2

1.0.0Β β€’Β PublicΒ β€’Β Published

typeofv2

A simple type checking module for JavaScript πŸ˜†

Installation

npm install typeofv2 --save
or
yarn add typeofv2

Example

const typeofv2 = require('typeofv2');

typeofv2.isArray([]) // true
typeofv2.isObject({}) // true

All Method

  • isArray
  • isBoolean
  • isNull
  • isUndefined
  • isNumber
  • isString
  • isSymbol
  • isObject
  • isRegExp
  • isDate
  • isError
  • isFunction
  • isPrimitive
  • isBuffer

Package Sidebar

Install

npm i typeofv2

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

2.39 kB

Total Files

3

Last publish

Collaborators

  • quoctrung163