check-data-type
v1.0.0
Published
A module to validate the data type in javascript.
Downloads
2
Maintainers
Readme
check-data-type
A module to check the data type in javascript.
Installation
npm install check-data-type
API
isBoolean( param ) @return true if param is boolean.
isNumber ( param ) @return true if param is number.
isString( param ) @return true if param is string.
isNull( param ) @return true if param is null.
isObject( param ) @return true if param is object.
isArray( param ) @return true if param is array.
isUndefined( param ) @return true if param is undefined.
isEmptyString( param ) @return true if param is emptystring.
isAssignable( param ) @return true if param empty and can be assignable.