Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

izz

fliphub580.0.11

is type shorthands for fliphub, hundreds of type checks, modular exports

helpers, utils, typeof, fliphub, flipbox, is, is-bindable, is-windows, is-promise, is-generator, is-object, is-function, is-bindable, is-real, is-set, is-type, type

readme

izz

NPM version MIT License fliphub flipfam

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'))
  • <input checked="" disabled="" type="checkbox"> extends is
  • <input checked="" disabled="" type="checkbox"> extends is_js

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