Improve JSDoc comments for Either
Either.js
has comments like this:
This function allows the chaining
map()
invocations in a composable
- way, and, if desired, unbox the value using
fold()
.
But it is not only for map()
and fold()
. We should update this JSDoc to a more precise definition of what Left
and Right
do.