MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / resolve

Function resolve

src/platform/common/variables/systemVariables.ts:19–29  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

17 public resolve(value: IStringDictionary<IStringDictionary<string>>): IStringDictionary<IStringDictionary<string>>;
18 // eslint-disable-next-line @typescript-eslint/no-explicit-any
19 public resolve(value: any): any {
20 if (Types.isString(value)) {
21 return this.__resolveString(value);
22 } else if (Types.isArray(value)) {
23 return this.__resolveArray(value);
24 } else if (Types.isObject(value)) {
25 return this.__resolveLiteral(value);
26 }
27
28 return value;
29 }
30
31 public resolveAny<T>(value: T): T;
32 // eslint-disable-next-line @typescript-eslint/no-explicit-any

Callers 9

selectItemMethod · 0.50
raceCancellationFunction · 0.50
createTimeoutFunction · 0.50
showInputBoxMethod · 0.50
sleepFunction · 0.50
waitForConditionFunction · 0.50
queueMethod · 0.50
shellExecMethod · 0.50

Calls

no outgoing calls

Tested by 1

createTimeoutFunction · 0.40