Module: legio

legio

Source:

Methods

(static) choose(value1, value2) → {*}

Parameters:
Name Type Description
value1 *
value2 *
Source:
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 *
Source:
Returns:
A boolean determining whether the value is null or undefined
Type
Boolean