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

Function isFalseExpression

test/fixtures/snapshot/typescript.js:70171–70175  ·  view source on GitHub ↗
(expr)

Source from the content-addressed store, hash-verified

70169 return result;
70170 }
70171 function isFalseExpression(expr) {
70172 var node = ts.skipParentheses(expr, /*excludeJSDocTypeAssertions*/ true);
70173 return node.kind === 95 /* SyntaxKind.FalseKeyword */ || node.kind === 221 /* SyntaxKind.BinaryExpression */ && (node.operatorToken.kind === 55 /* SyntaxKind.AmpersandAmpersandToken */ && (isFalseExpression(node.left) || isFalseExpression(node.right)) ||
70174 node.operatorToken.kind === 56 /* SyntaxKind.BarBarToken */ && isFalseExpression(node.left) && isFalseExpression(node.right));
70175 }
70176 function isReachableFlowNodeWorker(flow, noCacheCheck) {
70177 while (true) {
70178 if (flow === lastFlowNode) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…