Skip to content

annojs/is

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build status

annois - Type checkers for JavaScript

annois provides an alternative to is.js. Its API is compatible with generators.js. This can be handy for generative testing.

Usage:

var is = require('annois');


// type comparisons
is.object(...);
is.array(...);
is.boolean(...);

// additional comparisons
is.upperCharacter(...);
is.object.with(['name', 'age'], ...);

// see source for more or introspect the library

License

annois is available under MIT. See LICENSE for more details.

About

Type checkers for JavaScript (MIT)

Resources

License

Stars

Watchers

Forks

Packages

No packages published