Const
Navigate from a node to its first child N times to reach the Nth level of the tree, or throw an exception 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.
n
Will throw an exception on negative indexes.
Unsafe version of tryHeadN.
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.
Navigate from a node to its first child N times to reach the Nth level of the tree, or throw an exception if there is a leaf on the path from root to its Nth 1st child down.
When
nis zero, the zipper is returned unchanged.Will throw an exception on negative indexes.
Unsafe version of tryHeadN.