MCPcopy Create free account
hub / github.com/microsoft/SandDance / get

Method get

docs/app/js/sanddance-app.js:54830–54836  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

54828 Object.seal(this);
54829 }
54830 get(name) {
54831 let type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "count";
54832 return this._getOrCreate({
54833 name,
54834 type
54835 });
54836 }
54837 get size() {
54838 return Object.keys(this.stats).length;
54839 }

Callers

nothing calls this directly

Calls 1

_getOrCreateMethod · 0.95

Tested by

no test coverage detected