1.3.0 • Published 4 years ago
@mangar2/types v1.3.0
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