Skip to main content

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 and undefined.

_ : 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

ParamTypeDescription
valueanyargument to type check

Example

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