or()
or<
A
>(a
): <B
>(b
) =>boolean
Logical (a || b)
. Logical Disjunction.
Type Parameters
• A
Parameters
a
A
The possible falsey value.
Returns
Function
Type Parameters
• B
Parameters
b
B
Returns
boolean
See
https://en.wikipedia.org/wiki/Logical_disjunction
Remarks
pure function
Example
or(true)(0);
// true