MCPcopy
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

mergeVNodeHookFunction · 0.85
checkPropFunction · 0.85
isTextNodeFunction · 0.85
normalizeArrayChildrenFunction · 0.85
resolveAsyncComponentFunction · 0.85
getFirstComponentChildFunction · 0.85
renderListFunction · 0.85
createComponentFunction · 0.85
transformModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected