Function left

  • Constructs a new Either holding a Left value. This usually represents a failure, due to the right-bias of this structure.

    Type Parameters

    • E = never
    • A = never

    Parameters

    Returns Either<E, A>

    Since

    2.0.0