apSecond()
apSecond<
E1,B>(fab): <E2,A>(fa) =>Either<E1|E2,B>
Sequences two Eithers, keeping the second value.
Type Parameters
E1: E1
The error type of the second Either.
B: B
The success type of the second Either.
Parameters
fab: Either<E1, B>
The second Either.
Returns: <E2, A>(fa): Either<E1 | E2, B>
A function that sequences the Eithers.
Since
2.0.0