effect-tree
    Preparing search index...

    Function match

    • Type Parameters

      • R
      • E
      • Result

      Parameters

      • __namedParameters: {
            Both: (both: { _tag: "Both"; left: E; right: R }) => Result;
            Left: (left: { _tag: "Left"; left: E }) => Result;
            Right: (right: { _tag: "Right"; right: R }) => Result;
        }

      Returns (
          self:
              | { _tag: "Left"; left: E }
              | { _tag: "Right"; right: R }
              | { _tag: "Both"; left: E; right: R },
      ) => Unify<Result>