Skip to content

Commit d6892cb

Browse files
committed
Refactor comments
1 parent 8b80cd4 commit d6892cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
module.exports = isElement
44

5-
/* Check if, whether `tagNames` is given, a node is an element
6-
* or an element matching `tagNames`. */
5+
// Check if if `node` is an `element` and, if `tagNames` is given, `node`
6+
// matches them `tagNames`.
77
function isElement(node, tagNames) {
88
var name
99

0 commit comments

Comments
 (0)