Get the type of a value
npm install is-lite
import is from 'is-lite';
const value = '';
is.object(value) -> false;
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