Tries to unwrap the left value or uses the default value or lazy function to produce the correct result.
unleftOr(right(1), 2) // -> 2 unleftOr(left(NaN), 2) // -> NaN
the left value type
the right value type
Generated using TypeDoc
Tries to unwrap the left value or uses the default value or lazy function to produce the correct result.
Example