andThen
andThen<
A,B>(inner): <S>(outer) =>Optional<S,B>
Defined in: Core/Optional.ts:190
Composes two Optionals: focuses through the outer, then through the inner. Returns None if either focus is absent.
Type Parameters
Section titled “Type Parameters”A
B
Parameters
Section titled “Parameters”Optional<A, B>
Returns
Section titled “Returns”<
S>(outer):Optional<S,B>
Type Parameters
Section titled “Type Parameters”S
Parameters
Section titled “Parameters”Optional<S, A>
Returns
Section titled “Returns”Optional<S, B>