@nuskin/ns-dumb-lib-c
v1.0.3
Published
An awesome little function that tests for a null value.
Keywords
Readme
@nuskin/ns-dumb-lib-c
An awesome little function that tests for a null value.
Installing
Usng npm:
npm add @nuskin/ns-dumb-lib-cUsng yarn:
yarn add @nuskin/ns-dumb-lib-cExample usage
const { isNull } = require('@nuskin/ns-dumb-lib-c')
let notDefined
if(isNull(notDefined)){
console.log("This is null")
}
if(isNull(null)){
console.log("This is null")
}
if(!isNull({})){
console.log("This is not null")
}Resources
- Changelog could go here
