swappedOr()
swappedOr<
A>(a): <B>(b) =>boolean
Swapped Logical Disjunction: (b || a).
Type Parameters
A
A
The type of the first input value.
Parameters
a
A
The value to fallback to.
Returns
<
B>(b):boolean
Type Parameters
B
B
Parameters
b
B
Returns
boolean
See
https://en.wikipedia.org/wiki/Logical_disjunction
Remarks
pure function
Example
swappedOr(0)(true);
// true