Function right

  • Constructs a new Either holding a Right value. This usually represents a successful value due to the right bias of this structure.

    Type Parameters

    • E = never
    • A = never

    Parameters

    Returns Either<E, A>

    Since

    2.0.0