1.0.2 • Published 5 years ago
@jacarma/nil v1.0.2
@jacarma/nil
Utility functions to easily handle nullable variables
Install
npm install --save @jacarma/nil
Usage
nil(value) // true or false
noNil(value) // true or false
coalesce(value1, value2, value3, ...) // returns the first not null value
License
MIT © jacarma