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

Dependents (0)

Package Sidebar

Install

npm i typeofv2

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.39 kB

Total Files

3

Last publish

Collaborators

  • quoctrung163