Node.isAncestor

Returns TRUE if node is an ancestor of descendant. This is true if node is the parent of descendant, or if node is the grandparent of descendant etc.

class Node
int
isAncestor

Parameters

descendant Node

a GNode

Return Value

Type: int

TRUE if node is an ancestor of descendant

Meta