MCPcopy Create free account
hub / github.com/Xu22Web/tech-study-js / createRef

Function createRef

tech-study.js:999–1001  ·  view source on GitHub ↗
(rawVal, shallow)

Source from the content-addressed store, hash-verified

997 * @returns
998 */
999const createRef = (rawVal, shallow) => {
1000 return new Ref(rawVal, shallow);
1001};
1002/**
1003 * @description 解除 ref
1004 * @param val

Callers 2

refFunction · 0.70
shallowRefFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected