Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ygs-code/vue
/ isDef
Function
isDef
vue.js:31–33 ·
view source on GitHub ↗
(v)
Source
from the content-addressed store, hash-verified
29
30
//判断数据 是否不等于 undefined或者null
31
function
isDef(v) {
32
return
v !== undefined && v !== null
33
}
34
35
//判断是否真的等于true
36
function
isTrue(v) {
Callers
15
mergeVNodeHook
Function · 0.85
extractPropsFromVNodeData
Function · 0.85
checkProp
Function · 0.85
isTextNode
Function · 0.85
normalizeArrayChildren
Function · 0.85
resolveAsyncComponent
Function · 0.85
getFirstComponentChild
Function · 0.85
renderList
Function · 0.85
createFunctionalComponent
Function · 0.85
createComponent
Function · 0.85
createComponentInstanceForVnode
Function · 0.85
transformModel
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected