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

Function withProgramOrEmptyArray

test/fixtures/snapshot/typescript.js:124570–124572  ·  view source on GitHub ↗
(action)

Source from the content-addressed store, hash-verified

124568 return program && action(program);
124569 }
124570 function withProgramOrEmptyArray(action) {
124571 return withProgramOrUndefined(action) || ts.emptyArray;
124572 }
124573 function createProgram() {
124574 var _a, _b;
124575 ts.Debug.assert(program === undefined);

Callers 1

Calls 1

withProgramOrUndefinedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…