bindTo
bindTo<
K>(key): <S,A>(data) =>State<S,{ [P in string]: A }>
Defined in: Core/State.ts:226
Lifts a State value into an accumulator object.
Type Parameters
Section titled “Type Parameters”K extends string
Parameters
Section titled “Parameters”K
Returns
Section titled “Returns”<S, A>(data) => State<S, { [P in string]: A }>