bindTo
bindTo<
K>(key): <E,A>(data) =>Result<E,{ [P in string]: A }>
Defined in: Core/Result.ts:316
Converts a Result value into an object containing a single property. Initiates the pipeline accumulator record.
Type Parameters
Section titled “Type Parameters”K extends string
Parameters
Section titled “Parameters”K
Returns
Section titled “Returns”<E, A>(data) => Result<E, { [P in string]: A }>