indexOfNodeIdenticalFirst method

int indexOfNodeIdenticalFirst(
  1. DOMNode node
)

Implementation

int indexOfNodeIdenticalFirst(DOMNode node) {
  var idx = indexOfNodeIdentical(node);
  return idx >= 0 ? idx : indexOfNode(node);
}