1.0.0 • Published 5 years ago

sugars-js v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Getting Started

Install with npm:

npm i --save sugars-js

The minimum version of Node to use sugars-js is v8.0.0.

API

isA Check if value is a instance of X.

isAnObject Check if value is an object, not null, not array.

isArray Check if value is an Array.

isBoolean Check if value is type boolean.

isDefined Check if value is defined.

isNumber Check if value is type number.

isInteger Check if value is an integer number.

isFloat Check if value is a float number.

isFunction Check if value is type function.

isObject Check if value is type object.

Dev dependencies

  • Jest Delightful JavaScript Testing.
  • Eslint Javascript linter.