containsNode method

bool containsNode(
  1. Node node, [
  2. bool allowPartialContainment
])

The Selection.containsNode() method indicates whether a specified node is part of the selection.

Implementation

external bool containsNode(
  Node node, [
  bool allowPartialContainment,
]);