named Child
Get the node's named child at the given index, if any.
This method is fairly fast, but its cost is technically log(i)
, so if you might be iterating over a long list of children, you should use namedChildren or walk instead.
Throws
If the index exceeds the named child count.
Get the node's named child at the given index, if any.
This method is fairly fast, but its cost is technically log(i)
, so if you might be iterating over a long list of children, you should use namedChildren or walk instead.
Throws
If the index exceeds the named child count.
Get the node's named child at the given index, if any.
This method is fairly fast, but its cost is technically log(i)
, so if you might be iterating over a long list of children, you should use namedChildren or walk instead.
Throws
If the index exceeds the named child count.
Get the node's named child at the given index, if any.
This method is fairly fast, but its cost is technically log(i)
, so if you might be iterating over a long list of children, you should use namedChildren or walk instead.
Throws
If the index exceeds the named child count.