izz
v0.0.11
Published
is type shorthands for fliphub, hundreds of type checks, modular exports
Downloads
95
Maintainers
Readme
izz
is type shorthands, hundreds of type checks, modular exports
📦 usage
yarn add izz
npm i izz --save
const izz = require('izz')
// also available with modular imports
const isPromise = require('izz/promise')
const isNumber = require('izz/num')
const isBindable = require('izz/bindable')
const isGlob = require('izz/glob')
const isCi = require('izz/ci')
const isWindows = require('izz/windows')
const isArrOf = require('izz/arrOf')
console.log(isArrOf(['strings?', 'all stringy'], 'string'))
fns
- is.bindable
- is.promise
- is.arrOf
- is.num/number
- is.class
- is.obj/object/objLike/objectLike/plainObj/plainObject
- is.hostObj/hostObject
- is.emptyObj/emptyObject
- is.emptyStr/emptyString
- is.set
- is.map
- is.ci
- is.win/windows
- is.gen/generator
- is.fn/func/function
- is.str/string
- is.instanceOf
- is.real/notReal
- is.toType (returns string of type)
- is.arrOf
- is.glob
todo
- update docs with full api