Skip to main content

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.

ParamTypeDescription
valueanyargument to type check

Example

pendo.doesExist(null) => false
pendo.doesExist('foo') => true