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

Function getTypeFromFlowType

test/fixtures/snapshot/typescript.js:69975–69977  ·  view source on GitHub ↗
(flowType)

Source from the content-addressed store, hash-verified

69973 return flowType.flags === 0;
69974 }
69975 function getTypeFromFlowType(flowType) {
69976 return flowType.flags === 0 ? flowType.type : flowType;
69977 }
69978 function createFlowType(type, incomplete) {
69979 return incomplete ? { flags: 0, type: type.flags & 131072 /* TypeFlags.Never */ ? silentNeverType : type } : type;
69980 }

Callers 8

getFlowTypeOfReferenceFunction · 0.85
getTypeAtFlowAssignmentFunction · 0.85
getTypeAtFlowCallFunction · 0.85
getTypeAtFlowConditionFunction · 0.85
getTypeAtSwitchClauseFunction · 0.85
getTypeAtFlowBranchLabelFunction · 0.85
getTypeAtFlowLoopLabelFunction · 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…