Node.findChild

Finds the index of the given direct child node within this node.

class Node
@nogc final
ptrdiff_t
findChild

Parameters

child Node

The node to find.

Return Value

Type: ptrdiff_t

The index of the node, -1 if not found.

Meta