effect-tree - v1.0.36
    Preparing search index...

    Function treeToOrdinal

    • In the ordered set of trees with N labeled nodes, a set where the given tree is very much a member of, what is the ordinal number of the given tree in the set? Returns a numeric pair of ordinal and node tree count.

      Parameters

      Returns [ordinal: bigint, nodeCount: number]