Node.IsEqualNode

Node.IsEqualNode method

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.

public bool IsEqualNode(Node otherNode)
ParameterTypeDescription
otherNodeNodeThe other node.

Return Value

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

See Also