Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
983
const
isRef = (v) => {
984
return
!!(v && v[ReactiveFlags.IS_REF]);
985
};
986
/**
987
* @description 浅层 shallow
988
* @param v
Callers
10
unref
Function · 0.70
ref
Function · 0.70
shallowRef
Function · 0.70
createGetters
Function · 0.70
createSetters
Function · 0.70
watch
Function · 0.70
handleProps
Function · 0.70
handleAttribute
Function · 0.70
handleChildren
Function · 0.70
createTextNode
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected