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

Function isVoidZero

test/fixtures/snapshot/typescript.js:16640–16642  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

16638 return getAssignmentDeclarationPropertyAccessKind(expr.left);
16639 }
16640 function isVoidZero(node) {
16641 return ts.isVoidExpression(node) && ts.isNumericLiteral(node.expression) && node.expression.text === "0";
16642 }
16643 /**
16644 * Does not handle signed numeric names like `a[+0]` - handling those would require handling prefix unary expressions
16645 * throughout late binding handling as well, which is awkward (but ultimately probably doable if there is demand)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected