Methods
-
(static) choose(value1, value2) → {*}
-
Parameters:
Name Type Description value1* value2* Returns:
The first of values which is both not null and not undefined. Otherwise the second value.- Type
- *
-
(static) empty(value) → {Boolean}
-
Parameters:
Name Type Description value* Returns:
A boolean determining whether the value is null or undefined- Type
- Boolean