effect-tree - v1.0.36
    Preparing search index...

    Type Alias These<R, E>

    These: TaggedEnum<
        { Both: BothSides<R, E>; Left: LeftSide<E>; Right: RightSide<R> },
    >

    Just like Either, a data type representing a union of a value of the Left type and a value of the Right type.

    Unlike Either, These has a third member in its union, called Both, that has both a Left value and a Right value. Representing, for example, the results of an operation that can succeed partially, returning some errors with its results.

    Type Parameters

    • R
    • E