MCPcopy Create free account
hub / github.com/Nynxz/ComfyUI-IdeogramHelper / createReadonlyMethod

Function createReadonlyMethod

web/main.js:1233–1237  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

1231 };
1232}
1233function createReadonlyMethod(type) {
1234 return function(...args) {
1235 return type === "delete" ? false : type === "clear" ? void 0 : this;
1236 };
1237}
1238function createInstrumentations(readonly2, shallow) {
1239 const instrumentations = {
1240 get(key) {

Callers 1

createInstrumentationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected