Skip to main content

same_node

Function same_node 

Source
pub fn same_node<N: DomNavigator>(a: &N, b: &N) -> bool
Expand description

Check if two nodes are identical (same node).

This implements the XPath is operator.

§Arguments

  • a - First node
  • b - Second node

§Returns

true if the nodes are the same node, false otherwise.