okunishinishi/node-iftype

View on GitHub
doc/guides/03.API.md.hbs

Summary

Maintainability
Test Coverage
API
----

| Signature | Description |
| --- | --- |
| iftype(val).is(type) | Check if type match. |
| iftype(val).isString() | Check if string. |
| iftype(val).isNumber() | Check if number. |
| iftype(val).isObject() | Check if object. |
| iftype(val).isArray() | Check if array. |
| iftype.is(type, val) | Check if type match. |
| iftype.isString(val) | Check if string. |
| iftype.isNumber(val) | Check if number. |
| iftype.isObject(val) | Check if object. |
| iftype.isArray(val) | Check if array. |