We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b80cd4 commit d6892cbCopy full SHA for d6892cb
index.js
@@ -2,8 +2,8 @@
2
3
module.exports = isElement
4
5
-/* Check if, whether `tagNames` is given, a node is an element
6
- * or an element matching `tagNames`. */
+// Check if if `node` is an `element` and, if `tagNames` is given, `node`
+// matches them `tagNames`.
7
function isElement(node, tagNames) {
8
var name
9
0 commit comments