npm.io
1.3.0 • Published 6 years ago

@mangar2/types

Licence
LGPL-3.0-or-later
Version
1.3.0
Deps
0
Size
7 kB
Vulns
0
Weekly
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

Keywords