recover
recover<
A>(fallback): (data) =>Option<A>
Defined in: Core/Option.ts:231
Recovers from a None by providing a fallback Option.
Type Parameters
Section titled “Type Parameters”A
Parameters
Section titled “Parameters”fallback
Section titled “fallback”() => Option<A>
Returns
Section titled “Returns”(
data):Option<A>
Parameters
Section titled “Parameters”Option<A>
Returns
Section titled “Returns”Option<A>