@mangar2/types
v1.3.0
Published
Checks types
Downloads
5
Readme
Abstract
provides safe type checking functions : isFunction , isArray , isObject , isNull , isUndefined , isBoolean , isNumber , isString , isDate
Contents
Meta
| | | | --- | --- | | File | types.js | | Abstract | provides safe type checking functions : isFunction , isArray , isObject , isNull , isUndefined , isBoolean , isNumber , isString , isDate | | Author | Volker Böhm | | Copyright | Copyright ( c ) 2020 Volker Böhm | | License | This software is licensed under the GNU LESSER GENERAL PUBLIC LICENSE Version 3 . It is furnished "as is" , without any support , and with no warranty , express or implied , as to its usefulness for any purpose . |
Class @name
new @name()
Example
isFunction(text => console.log(text)) // returns true
isBoolean('true') // returns false