Check if a value is something
npm i min-is
is.browser
detect is browseris.h5
simple modern browser detectis.mobile
detect mobile browser or pc browseris.wechatApp
detect wechat app
is.owns
, short forObject.prototype.hasOwnProperty.call
is.bool
is.number
is.integer
is.decimal
is.undef
is.hash
is.plainObject
is.object
is.fn
is.string
is.array
is.arraylike
is.empty
is.element
is.regexp
is.nan
, onlyNaN
is true, other is false, unlikeisNaN
is.iod
is int or decimalis.oof
is object or functionis.nos
is number or string
is._class
, short forObject.prototype.toString.call(value)
is._type
, short fortypeof value