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