Skip to content

Simple and expressive type checks as a component, adapted from npm's is-type module.

Notifications You must be signed in to change notification settings

airportyh/is-type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

is-type

Simple type checks for Javascript as a component. Adapted from is-type and core-util-is.

Usage

var is = require('is-type');

is.array([1]); // => true
is.primitive(true); // => true
is.primitive({}); // => false
is.string('hello'); // => true
is.number(4); // => true

About

Simple and expressive type checks as a component, adapted from npm's is-type module.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published