checkProp() — vue Function Reference
Architecture documentation for the checkProp() function in extract-props.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 0b4ef925_7e1d_0c62_8ba5_84941fd9041f["checkProp()"] 88a87f42_1e30_d56d_fbd3_9595081aa349["extract-props.ts"] 0b4ef925_7e1d_0c62_8ba5_84941fd9041f -->|defined in| 88a87f42_1e30_d56d_fbd3_9595081aa349 40c76c03_d6c8_1867_e41e_8302179375b5["extractPropsFromVNodeData()"] 40c76c03_d6c8_1867_e41e_8302179375b5 -->|calls| 0b4ef925_7e1d_0c62_8ba5_84941fd9041f style 0b4ef925_7e1d_0c62_8ba5_84941fd9041f 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