@bemoje/is-null

1.0.1 • Public • Published

@bemoje/is-null

Returns true of value 'v' is null.

Version

NPM version

Travis CI

dependencies

Dependencies

dependencies

Stats

NPM downloads Forks

Donate

Buy Me A Beer donate button PayPal donate button

Installation

npm install @bemoje/is-null
npm install --save @bemoje/is-null
npm install --save-dev @bemoje/is-null

Usage

import isNull from '@bemoje/is-null'

isNull(null)
//=> true

isNull('null')
//=> false

isNull(void 0)
//=> false

isNull(undefined)
//=> false

isNull()
//=> false

isNull('undefined')
//=> false

Tests

Uses Jest to test module functionality. Run tests to get coverage details.

npm run test

API

isNull

Returns

true of value 'v' is null.

Parameters
  • value any The value to evaluate
Returns

boolean

Package Sidebar

Install

npm i @bemoje/is-null

Weekly Downloads

10

Version

1.0.1

License

MIT

Unpacked Size

6.35 kB

Total Files

5

Last publish

Collaborators

  • bemoje