/** * Executes the specified `Either` if it is a `Right`, otherwise executes * `orElse`. * * @tsplus pipeable-operator Either | * @tsplus static Either.Aspects orElse * @tsplus pipeable Either orElse */ export function orElse(onLeft: LazyArg>) { return (self: Either): Either => self.catchAll(onLeft) }