is_equal_node method

is_equal_node

Tests whether two nodes are equal. This method tests for equality of nodes, not sameness (i.e., whether the two nodes are references to the same object) which can be tested with Node.isSameNode(). All nodes that are the same will also be equal, though the reverse may not be true.

Returns

true if [is equal node] [the specified arg]; otherwise, false.

def is_equal_node(self, other_node):
    ...
ParameterTypeDescription
other_nodeNodeThe other node.

See Also