iz-a
Javascript type checking
Install
$ npm install @nikkypx/iz-a
Usage
const isA = require('@nikkypx/iz-a')
isA.String('foo') // true
API
isA.String(n)
isA.Integer(n)
isA.Float(n)
isA.Array(n)
isA.Object(n)
isA.Null(n)
isA.Undefined(n)
isA.RegExp(n)
isA.Boolean(n)
n - expression
All methods return a boolean
License
MIT