Web API Selection.containsNode() Method
The Selection API gives developers the ability to recognize the screen regions that the user has now selected and to use code to initiate user selections. The containsNode() method is used to determine whether a specified node is part of the selection or not. Syntax: containsNode(node, partialContai