Determines if a value is not a value


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Dec 30, 2020Aug 7, 2017Minified + gzip package size for @unction/isnil in KB



Tests Stability Dependencies

A => boolean

Determines if a value is not a value.

isNil(null) // true
isNil(undefined) // true
isNil(0) // false
isNil("") // false
isNil([]) // false
isNil({}) // false

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.