effect-tree
    Preparing search index...

    Variable removeForestConst

    removeForest: <A>(self: Branch<A>) => Leaf<A> = ...

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

    Type Declaration

      • <A>(self: Branch<A>): Leaf<A>
      • 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.