map
map<
S,A,B>(f): (st) =>State<S,B>
Defined in: Core/State.ts:101
Transforms the value produced by a State computation. The state transformation is unchanged.
Type Parameters
Section titled “Type Parameters”S
A
B
Parameters
Section titled “Parameters”(a) => B
Returns
Section titled “Returns”(
st):State<S,B>
Parameters
Section titled “Parameters”State<S, A>
Returns
Section titled “Returns”State<S, B>