@unction/ispresent
v4.1.4
Published
Determines if the object is non-nil
Downloads
55
Readme
@unction/isPresent
A => boolean
This lets you know if it's a non-null, non-undefined value.
isPresent('x') // true
isPresent([]) // true
isPresent(null) // false
isPresent(undefined) // false