starkjs-underscore

0.0.1 • Public • Published

starkjs-underscore

This just adds some sugar to underscore.

Working with types

isDefined _.isDefined(value)

sugar method to check for undefined or null.

_.isDefined(null);
=> false

getType _.getType(value)

returns name of the type. names are in lowercase.

_.getType('foo'/2);
=> 'nan'

Readme

Keywords

Package Sidebar

Install

npm i starkjs-underscore

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • chbrock