MCPcopy Create free account
hub / github.com/json-editor/json-editor / getValue

Method getValue

docs/scripts/ajv-validator.js:1509–1514  ·  view source on GitHub ↗
(prefix, keyOrRef)

Source from the content-addressed store, hash-verified

1507 return name;
1508 }
1509 getValue(prefix, keyOrRef) {
1510 const vs = this._values[prefix];
1511 if (!vs)
1512 return;
1513 return vs.get(keyOrRef);
1514 }
1515 scopeRefs(scopeName, values = this._values) {
1516 return this._reduceValues(values, (name) => {
1517 if (name.scopePath === undefined)

Callers 1

getScopeValueMethod · 0.45

Calls 1

getMethod · 0.80

Tested by

no test coverage detected