up.util.isBlank(value)
JavaScript function
Returns whether the given argument is considered to be blank.
By default, this function returns true for:
undefinednull- Empty strings
- Empty arrays
- A plain object without own enumerable properties
All other arguments return false.
To implement blank-ness checks for user-defined classes,
see up.util.isBlank.key.
Parameters
value
required
The value to check.
Type: any
Return value
Whether the value is blank.
Type: boolean