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

Function toSearchResult

test/fixtures/snapshot/typescript.js:44527–44529  ·  view source on GitHub ↗

* Wraps value to SearchResult. * @returns undefined if value is undefined or { value } otherwise

(value)

Source from the content-addressed store, hash-verified

44525 * @returns undefined if value is undefined or { value } otherwise
44526 */
44527 function toSearchResult(value) {
44528 return value !== undefined ? { value: value } : undefined;
44529 }
44530})(ts || (ts = {}));
44531/* @internal */
44532var ts;

Callers 6

tryResolveFunction · 0.85
loadModuleFromExportsFunction · 0.85
loadModuleFromImportsFunction · 0.85
tryLoadInputFileForPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected