chain
chain<
S,A,B>(f): (st) =>State<S,B>
Defined in: Core/State.ts:126
Sequences two State computations. The state output of the first is passed as the state input to the second.
Data-last — the first computation is the data being piped.
Type Parameters
Section titled “Type Parameters”S
A
B
Parameters
Section titled “Parameters”(a) => State<S, B>
Returns
Section titled “Returns”(
st):State<S,B>
Parameters
Section titled “Parameters”State<S, A>
Returns
Section titled “Returns”State<S, B>