effect-tree
    Preparing search index...

    Function destruct

    • Deconstruct a tree into its value and its possible empty forest.

      Type Parameters

      • A

        The underlying type of the tree. For example, in a numeric tree it would be number.w$lk

      • B

      Parameters

      Returns readonly [A, B[]]

      A pair of the tree root node value and a possibly empty list of children of the type C.