Type alias Either<L, R>

Either<L, R>: Left<L> | Right<R>

Types an Either monad. As per convention, the [L] type represents a failure, while [R] the success type.

Type Parameters

  • L

  • R

Generated using TypeDoc