Package Exports
- is-lite
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-lite) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-lite
A tiny javascript type testing tool!
Setup
npm install is-liteUsage
import is from 'is-lite';
const value = '';
is.object(value) // false;
API
is.null
is.undefined
is.nullOrUndefined
is.string
is.number
is.function
is.boolean
is.array
is.object (objects, functions and arrays)
is.plainObject (just objects)
is.date
is.promise
is.iterable
is.generator
is.regexp
is.symbol
is.domElement