checkProp() — vue Function Reference
Architecture documentation for the checkProp() function in extract-props.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 6abb57af_3267_6a8a_4067_ae972ebad719["checkProp()"] 07c6a400_8fa8_9740_e9a1_447f2eb41bbc["extract-props.ts"] 6abb57af_3267_6a8a_4067_ae972ebad719 -->|defined in| 07c6a400_8fa8_9740_e9a1_447f2eb41bbc 2c4ae5b5_b15e_8c6d_7ec1_57d26fc859fa["extractPropsFromVNodeData()"] 2c4ae5b5_b15e_8c6d_7ec1_57d26fc859fa -->|calls| 6abb57af_3267_6a8a_4067_ae972ebad719 style 6abb57af_3267_6a8a_4067_ae972ebad719 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/vdom/helpers/extract-props.ts lines 52–75
function checkProp(
res: Object,
hash: Object | undefined,
key: string,
altKey: string,
preserve: boolean
): boolean {
if (isDef(hash)) {
if (hasOwn(hash, key)) {
res[key] = hash[key]
if (!preserve) {
delete hash[key]
}
return true
} else if (hasOwn(hash, altKey)) {
res[key] = hash[altKey]
if (!preserve) {
delete hash[altKey]
}
return true
}
}
return false
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does checkProp() do?
checkProp() is a function in the vue codebase, defined in src/core/vdom/helpers/extract-props.ts.
Where is checkProp() defined?
checkProp() is defined in src/core/vdom/helpers/extract-props.ts at line 52.
What calls checkProp()?
checkProp() is called by 1 function(s): extractPropsFromVNodeData.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free