is-nil-x

WebJar for is-nil-x

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-nil-x
Last Version

Last Version

1.4.2
Release Date

Release Date

Type

Type

jar
Description

Description

is-nil-x
WebJar for is-nil-x
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/Xotic750/is-nil-x

Download is-nil-x

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/is-nil-x/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>is-nil-x</artifactId>
    <version>1.4.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/is-nil-x/
implementation 'org.webjars.npm:is-nil-x:1.4.2'
// https://jarcasting.com/artifacts/org.webjars.npm/is-nil-x/
implementation ("org.webjars.npm:is-nil-x:1.4.2")
'org.webjars.npm:is-nil-x:jar:1.4.2'
<dependency org="org.webjars.npm" name="is-nil-x" rev="1.4.2">
  <artifact name="is-nil-x" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='is-nil-x', version='1.4.2')
)
libraryDependencies += "org.webjars.npm" % "is-nil-x" % "1.4.2"
[org.webjars.npm/is-nil-x "1.4.2"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : lodash.isnull jar [3.0.0,4)
org.webjars.npm : validate.io-undefined jar [1.0.3,2)

Project Modules

There are no modules declared in this project.

Travis status Dependency status devDependency status npm version jsDelivr hits bettercodehub score Coverage Status

is-nil-x

Checks if value is null or undefined.

module.exports(value)boolean

Checks if value is null or undefined.

Kind: Exported function
Returns: boolean - Returns true if value is nullish, else false.

Param Type Description
value * The value to check.

Example

import isNil from 'is-nil-x';

console.log(isNil(null)); // => true
console.log(isNil(void 0)); // => true
console.log(isNil(NaN)); // => false

Versions

Version
1.4.2
1.4.1