Skip to main content

Utility

_ : Object​

See full docs here: https://underscorejs.org/

doesExist(arg) ⇒ Boolean​

Utility function to check if the passed value exists. Returns false for null and undefined.

ParamTypeDescription
arganyvalue to type check

Example

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