Documentation

Is

Checking...

Installing

npm i @lvchengbin/is --save

Methods

Method Desc
is.arguments
is.array
is.arrayBuffer
is.arrayBufferView
is.arrowFunction
is.asyncFunction
is.between
is.blob
is.boolean
is.class
is.darkMode
is.dataview
is.date
is.elementNode
is.email
is.empty
is.error
is.formdata
is.fragmentNode
is.function
is.generalizedFalse
is.generalizedTrue
is.generator
is.integer
is.ip
is.ipv4
is.ipv6
is.iterable
is.leapYear
is.map
is.node
is.number
is.object
is.oneDimensionalArray
is.plainObject
is.privateIPv4
is.promise
is.regexp
is.set
is.string
is.textNode
is.undefined
is.url
is.window
yarn add @lvchengbin/is

Usage

const is = require( '@lvchengbin/is' );

is.function( async () => {} );
is.array( [] );