@mangar2/types

1.3.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @mangar2/types

Weekly Downloads

2

Version

1.3.0

License

LGPL-3.0-or-later

Unpacked Size

7.02 kB

Total Files

5

Last publish

Collaborators

  • mangar2