bind
bind<
K,S,A,B>(key,f): (data) =>State<S,A&{ [P in string]: B }>
Defined in: Core/State.ts:241
Evaluates a new State using the current accumulator and attaches the output to a new key.
Type Parameters
Section titled “Type Parameters”K extends string
S
A
B
Parameters
Section titled “Parameters”K
(a) => State<S, B>
Returns
Section titled “Returns”(data) => State<S, A & { [P in string]: B }>