Skip to Content

isEmpty()

Returns true if the value is empty (empty string, array, object, null, or undefined).

Kind: global function

ParamTypeDescription
value*The value to check.

Example

ARM.isEmpty([]) // true ARM.isEmpty('') // true ARM.isEmpty(null) // true ARM.isEmpty([1]) // false
Last updated on