nthChild

fun nthChild(n: <Error class: unknown class>): Node(source)

Gets a child of a #GNode, using the given index. The first child is at index 0. If the index is too big, null is returned.

Return

the child of @node at index @n

Parameters

n

the index of the desired child