effect-tree
    Preparing search index...

    Variable appendConst

    append: {
        <A>(self: Tree<A>, child: Tree<A>): Branch<A>;
        <A>(child: Tree<A>): (self: Tree<A>) => Branch<A>;
    } = ...

    Append a tree to the children of the root node. If self is a leaf, it is converted into a branch.

    Type Declaration

    Tree underlying type.

    The tree to modify.

    Child to append.

    A new updated tree with the new node appended.