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

Function ref

tech-study.js:1015–1019  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1013 * @returns
1014 */
1015const ref = (value) => {
1016 return isRef(value)
1017 ? value
1018 : createRef(value, true);
1019};
1020/**
1021 * @description ref
1022 * @param value

Callers 9

createElementNodeFunction · 0.70
createNSElementNodeFunction · 0.70
tech-study.jsFile · 0.70
createTipFunction · 0.70
SelectFunction · 0.70
FrameFunction · 0.70
ScoreItemFunction · 0.70
SettingsPanelFunction · 0.70
PanelFunction · 0.70

Calls 2

isRefFunction · 0.70
createRefFunction · 0.70

Tested by

no test coverage detected