effect-tree
    Preparing search index...

    Variable tryHeadNConst

    tryHeadN: {
        <A>(self: Zipper.Zipper<A>, n: number): Option<Zipper.Zipper<A>>;
        (n: number): <A>(self: Zipper.Zipper<A>) => Option<Zipper.Zipper<A>>;
    } = ...

    Navigate from a node to its first 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 headN for an unsafe version.

    Type Declaration

    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.