MCPcopy
hub / github.com/mongodb/node-mongodb-native / isCurrentNode

Function isCurrentNode

docs/2.2/js/navbar.js:19–21  ·  docs/2.2/js/navbar.js::isCurrentNode
($node)

Source from the content-addressed store, hash-verified

17
18 /* currently open page */
19 function isCurrentNode($node) {
20 return $node.hasClass(class="st">'current');
21 }
22
23 function isLeafNode($node) {
24 return !$node.siblings(class="st">'ul:not(.simple)').length;

Callers 1

navbar.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected