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

    Function growLeaves

    • Grows the tree at its leaves.

      Given a function of type (a: A) ⇒ Tree<A> replacing a value of type A with a Tree<A>, grow the tree by running all leaves through this function, replacing the leaves with the function results.

      Type Parameters

      • A

      Parameters

      Returns TreeFold<A, Tree<A>>