Function Node.compareDocumentPosition

Compares the reference node, i.e. the node on which this method is being called, with a node, i.e. the one passed as a parameter, with regard to their position in the document and according to the document order.

Prototype

BitFlags!DocumentPosition compareDocumentPosition(
  Node!DOMString other
);

Authors

Lodovico Giaretta

Copyright

Copyright Lodovico Giaretta 2016 --

License

Boost License 1.0.