Utility
_ : Object
See full docs here: https://underscorejs.org/
doesExist(value) ⇒ Boolean
Utility function to check if passed value exists. Returns false for null
and undefined
.
Param | Type | Description |
---|---|---|
value | any | argument to type check |
Example
pendo.doesExist(null) => false
pendo.doesExist('foo') => true