MCPcopy
hub / github.com/microsoft/vscode-js-debug / hasVariable

Method hasVariable

src/adapter/variableStore.ts:1671–1673  ·  view source on GitHub ↗

Gets whether the variablesReference exists in this store

(variablesReference: number)

Source from the content-addressed store, hash-verified

1669
1670 /** Gets whether the variablesReference exists in this store */
1671 public hasVariable(variablesReference: number) {
1672 return !!this.vars.get(variablesReference);
1673 }
1674
1675 /** Gets whether the memoryReference exists in this store */
1676 public hasMemory(memoryReference: string) {

Callers 3

_onLocationsMethod · 0.80
_onVariablesMethod · 0.80
_onSetVariableMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected