is_same_node method

is_same_node

Returns whether this node is the same node as the given one. This method provides a way to determine whether two Node references returned by the implementation reference the same object. When two Node references are references to the same object, even if through a proxy, the references may be used completely interchangeably, such that all attributes have the same values and calling the same DOM method on either reference always has exactly the same effect.

Returns

true if [is same node] [the specified other]; otherwise, false.

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

See Also