effect-tree
    Preparing search index...

    Variable tryAtConst

    tryAt: {
        <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 Nth child or return Option.none if it has no Nth child.

    Negative indexes are handled as offsets from the final tree in the forest so that focusing on index -1 focuses on the last tree in the forest, -2 on the tree before that and so on.

    See at for an unsafe version.

    Type Declaration

    The underlying type of the tree.

    The zipper that will be navigated.

    Index of child that will be the new zipper focus.

    An updated zipper pointing at a new focus or Option.none() if the node is a leaf or the given index is out-of-bounds.