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

Function createRef

web/main.js:1525–1530  ·  view source on GitHub ↗
(rawValue, shallow)

Source from the content-addressed store, hash-verified

1523 return createRef(value, false);
1524}
1525function createRef(rawValue, shallow) {
1526 if (/* @__PURE__ */ isRef(rawValue)) {
1527 return rawValue;
1528 }
1529 return new RefImpl(rawValue, shallow);
1530}
1531class RefImpl {
1532 constructor(value, isShallow2) {
1533 this.dep = new Dep();

Callers 1

refFunction · 0.85

Calls 1

isRefFunction · 0.85

Tested by

no test coverage detected