nillify
v0.1.1
Published
utility functions to check for null, undefined in javascript projects
Downloads
221
Readme
nillify
It is small utility package to help developers to check for null, undefined without anny concerns.
isNil
It returns true when given argument is null / undefined otherwise it returns false.
isEmpty
It returns true when given argument is 0, '', null, undefined otherwise returns false. You can safely validate the data in conditions.
Please reach out to me