atc-type-checker
v1.0.7
Published
JavaScript Type Checker
Downloads
12
Maintainers
Readme
Type Checker
- easy to use
- check all variable type
Installation
npm i atc-type-checker
Features & Usage
import TypeChecker from 'atc-type-checker'
| Feature | Usage | | ----------- | ---------------------------- | | isArray | TypeChecker.isArray(foo) | | isBoolean | TypeChecker.isBoolean(foo) | | isFunction | TypeChecker.isFunction(foo) | | isNull | TypeChecker.isNull(foo) | | isNumber | TypeChecker.isNumber(foo) | | isObject | TypeChecker.isObject(foo) | | isString | TypeChecker.isString(foo) | | isUndefined | TypeChecker.isUndefined(foo) |
License
MIT