bindTo()
bindTo<
N>(name): <E,A>(fa) =>Either<E,{ readonly [K in string]: A }>
Binds a value to a name in do notation.
Type Parameters
N: N extends string
The property name.
Parameters
name: N
The property name.
Returns: <E, A>(fa): Either<E, { readonly [K in string]: A }>
A function that binds the value.
Since
2.0.0