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-c
Usng yarn:
yarn add @nuskin/ns-dumb-lib-c
Example 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