MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / options

Function options

Extension/src/Utility/Process/program.ts:37–39  ·  view source on GitHub ↗
(args?: [...Primitive[]] | [...Primitive[], T])

Source from the content-addressed store, hash-verified

35}
36
37function options<T extends Record<string, any>>(args?: [...Primitive[]] | [...Primitive[], T]): Partial<T> {
38 return args?.length ? is.primitive(args[args.length - 1]) ? {} : args.pop() as T : {};
39}
40
41interface Launcher {
42 executable: Promise<string>;

Callers 2

processFactoryFunction · 0.85
program.tsFile · 0.85

Calls 1

primitiveMethod · 0.45

Tested by

no test coverage detected