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

Function isRef

tech-study.js:983–985  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

981 * @returns
982 */
983const isRef = (v) => {
984 return !!(v && v[ReactiveFlags.IS_REF]);
985};
986/**
987 * @description 浅层 shallow
988 * @param v

Callers 10

unrefFunction · 0.70
refFunction · 0.70
shallowRefFunction · 0.70
createGettersFunction · 0.70
createSettersFunction · 0.70
watchFunction · 0.70
handlePropsFunction · 0.70
handleAttributeFunction · 0.70
handleChildrenFunction · 0.70
createTextNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected