Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ygs-code/vue
/ isUndef
Function
isUndef
vue.js:26–28 ·
view source on GitHub ↗
(v)
Source
from the content-addressed store, hash-verified
24
// explicitness and function inlining
25
//判断数据 是否是undefined或者null
26
function
isUndef(v) {
27
return
v === undefined || v === null
28
}
29
30
//判断数据 是否不等于 undefined或者null
31
function
isDef(v) {
Callers
15
set
Function · 0.85
del
Function · 0.85
updateListeners
Function · 0.85
mergeVNodeHook
Function · 0.85
extractPropsFromVNodeData
Function · 0.85
normalizeArrayChildren
Function · 0.85
resolveAsyncComponent
Function · 0.85
createComponent
Function · 0.85
applyNS
Function · 0.85
sameVnode
Function · 0.85
updateChildren
Function · 0.85
patchVnode
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected