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