Checks if the provided value is an instance of the Either jonad.
Higher order function returning a function that performs the isLeft
method on the provided Either.
The returned function checks if the value is a Left.
Higher order function returning a function that performs the isRight
method on the provided Either.
The returned function checks if the value is a Right.
Creates a new Left instance.
Higher order function returning a function that performs the leftOr
method on the provided Either.
The returned function returns the value if it is a Left, otherwise returns a default value.
Higher order function returning a function that performs the mapLeft
method on the provided Either.
The returned function maps the value if it is a Left, otherwise returns the value as-is.
Higher order function returning a function that performs the mapRight
method on the provided Either.
The returned function maps the value if it is a Right, otherwise returns the value as-is.
Higher order function returning a function that performs the match
method on the provided Either.
The returned funct)ion matches the jonad by calling the appropriate callback based on the value type.
Creates a new Right instance.
Higher order function returning a function that performs the rightOr
method on the provided Either.
The returned function returns the value if it is a Left, otherwise returns a default value asynchronously.
Higher order function returning a function that performs the tapLeft
method on the provided Either.
The returned function applies a function to the value if it is a Left, returning itself.
Higher order function returning a function that performs the tapRight
method on the provided Either.
The returned function applies a function to the value if it is a Right, returning itself.
Either-related utilities.