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

    Function levelsFold

    • Group a level of the tree by depth: number of levels between the node and the tree root.

      Type Parameters

      • A

      Parameters

      Returns [[A, ...A[]], ...[A, ...A[]][]]