effect-tree
    Preparing search index...

    Function removeForest

    • Strip a branch from its children and return the new leaf.

      Type Parameters

      • A

        Tree underlying type.

      Parameters

      • self: Branch<A>

        The tree from which all nodes will be removed.

      Returns Leaf<A>

      A leaf tree node.