1.0.1 • Published 9 years ago

izzy v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

izzy

A robust micro library for type checking. Defers to constructs' internal [[Class]] property rather than duck typing for excellent type detection and to avoid triggering false positives.

Build Status browser support

usage

izzy.string ('foo') // true
izzy.string (new String('foo')) // true

izzy ('string', 'foo') // true
izzy ('string', 42) // false

supported checks

array, boolean, undefined, element, function, nan, null, number, object, string

size

Raw1.49 kb
Uglified843 b
Uglified + gzipped361 b

environment support

Any browser (as window.izzy if you're not using a module loader), AMD, CommonJS, NodeJS

building it yourself

npm install
grunt
1.0.1

9 years ago

1.0.0

10 years ago

0.1.5

10 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago