effect-tree
    Preparing search index...

    Variable branchConst

    branch: {
        flipped: <A>(value: A) => (forest: ForestOf<A>) => Branch<A>;
        tupled: <A>(valueAndForest: [value: A, forest: ForestOf<A>]) => Branch<A>;
        <A>(value: A, forest: readonly [Tree<A>, Tree<A>]): Branch<A>;
        <A>(forest: readonly [Tree<A>, Tree<A>]): (value: A) => Branch<A>;
    } = ...

    Create a new branch from its value and a non-empty list of child nodes. child nodes.

    At the flipped key you will find a flipped curried version that accepts two argument lists: the first with the value and the second with the forest.

    At the tupled key you will find a tupled version that accepts as its single argument a tuple of value and forest.

    Type Declaration

    Underlying tree type.

    The tree root value.

    A non-empty list of child nodes, all of the same type as this parent node.

    A new branch with the given value and forest.