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

Function shallowReadArray

web/main.js:850–853  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

848 return /* @__PURE__ */ isShallow(array) ? raw : raw.map(toReactive);
849}
850function shallowReadArray(arr) {
851 track(arr = /* @__PURE__ */ toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
852 return arr;
853}
854function toWrapped(target, item) {
855 if (/* @__PURE__ */ isReadonly(target)) {
856 return /* @__PURE__ */ isReactive(target) ? toReadonly(toReactive(item)) : toReadonly(item);

Callers 4

iteratorFunction · 0.85
applyFunction · 0.85
reduceFunction · 0.85
renderListFunction · 0.85

Calls 2

trackFunction · 0.85
toRawFunction · 0.85

Tested by

no test coverage detected