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