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

    Function maximumLeafAndParentFold

    Just like maximumLeafFold but result include the parent node of the maximal leaf, or None if given tree is a leaf.

    • Function

      Just like minimumLeafFold but result include the parent node of the minimal leaf, or None if given tree is a leaf.

      Type Parameters

      • A

      Parameters

      • o: Order<A>

      Returns TreeFolder<A, readonly [A, Option<A>]>