Skip to content
IS a type checking for JavaScript.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.travis.yml
LICENSE
README
example.js
index.js
is.min.js
package.json

README

IS [![Build Status][travis-svg]][travis-url]


Akinjide Bankole
r@akinjide.me

2018-02-09


IS is a type checking for JavaScript.

Installation: using NPM (Node Package Manager) with command _npm install akinjide/is_, or make a copy, minify and deploy to your server.

API: usage [https://github.com/akinjide/is/blob/master/example.js], all exposed API return Boolean while taking in single argument as parameters for execution. Except _instance_ API takes in two arguments, _val_ and _constructor_ as parameters when invoked.

- is.promise
- is.generator
- is.generatorFunction
- is.object
- is.array
- is.number
- is.string
- is.symbol
- is.boolean
- is.error
- is.infinite
- is.instance <val, constructor>
- is.regExp
- is.func
- is.asyncFunction
- is.undef
- is.nil
- is.iterable
- is.globalContext
- is.cyclic
- is.map
- is.set
- is.def
- is.primitive
- is.float
- is.integer
- is.boundFunction
- is.odd
- is.even
- is.finite
- is.prime
- is.executable
- is.callback

[travis-svg]: https://travis-ci.org/akinjide/is.svg?branch=master
[travis-url]: https://travis-ci.org/akinjide/is
You can’t perform that action at this time.