effect-tree
    Preparing search index...

    Function match

    • Match a TreeF to leaves and branches.

      Type Parameters

      • A

        The underlying type of the tree. For example, in a numeric tree it would be number.

      • C

        The child node type, also called the carrier type.

      • R

        The result type of the given functions.

      Parameters

      Returns (treeF: TreeF.TreeF<A, C>) => R