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

Function isReachableFlowNode

test/fixtures/snapshot/typescript.js:70165–70170  ·  view source on GitHub ↗
(flow)

Source from the content-addressed store, hash-verified

70163 diagnostics.add(ts.createFileDiagnostic(sourceFile, span.start, span.length, ts.Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis));
70164 }
70165 function isReachableFlowNode(flow) {
70166 var result = isReachableFlowNodeWorker(flow, /*noCacheCheck*/ false);
70167 lastFlowNode = flow;
70168 lastFlowNodeReachable = result;
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)) ||

Callers 4

getTypeAtFlowAssignmentFunction · 0.85
checkSwitchStatementFunction · 0.85
checkSourceElementWorkerFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…