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

    Function tryLastN

    Navigate from a node to its last child N times to reach the Nth level of the tree, or return Option.none if there is a leaf on the path from root to its Nth 1st child down.

    When n is zero, the zipper is returned unchanged.

    Will return Option.none if given negative indexes.

    See lastN for an unsafe version.

    The underlying type of the tree.

    The zipper that will be navigated.

    Number of tree levels to descend.

    An updated zipper pointing at a new focus or Option.none() if the path to the Nth level is not valid.