@killara/is

is's a helper

Stats

StarsIssuesVersionUpdatedCreatedSize
@killara/is
101.1.43 years ago4 years agoMinified + gzip package size for @killara/is in KB

Readme

is

npm Travis branch Codecov branch David deps Known Vulnerabilities npm download jest

is's a helper for Javascript

Install

npm i -S @killara/is

Example


const is = require('@killara/is')

if (is.func(() => {})) {
  console.log('You are an amazing function!');
} 

API

  • is.array

  • is.string

  • is.symbol

  • is.function (alias is.func)

  • is.boolean (alias is.bool)

  • is.undefined (alias is.undef)

  • is.nan (alias is.NaN)

  • is.finite

  • is.number

  • is.null

  • is.regexp

  • is.date

  • is.error

  • is.object

  • is.buffer

  • is.primitive

  • is.alphanum (alias is.alphanumeric)

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.