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