MCPcopy Index your code
hub / github.com/nodejs/node / checkAssertNode

Function checkAssertNode

tools/eslint-rules/prefer-assert-iferror.js:29–33  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

27 }
28
29 function checkAssertNode(node) {
30 if (utils.isRequired(node, ['assert'])) {
31 assertImported = true;
32 }
33 }
34
35 return {
36 'CallExpression': (node) => checkAssertNode(node),

Callers 1

createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…