sameInputType() — vue Function Reference
Architecture documentation for the sameInputType() function in patch.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 4ea4963b_7adf_a1ca_5a07_b5186f3fc8d7["sameInputType()"] 0df06241_48e0_316d_48c2_6f91c7a049b1["patch.ts"] 4ea4963b_7adf_a1ca_5a07_b5186f3fc8d7 -->|defined in| 0df06241_48e0_316d_48c2_6f91c7a049b1 c48f2bd8_6020_4edf_01ad_950addd6de62["sameVnode()"] c48f2bd8_6020_4edf_01ad_950addd6de62 -->|calls| 4ea4963b_7adf_a1ca_5a07_b5186f3fc8d7 style 4ea4963b_7adf_a1ca_5a07_b5186f3fc8d7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/vdom/patch.ts lines 48–54
function sameInputType(a, b) {
if (a.tag !== 'input') return true
let i
const typeA = isDef((i = a.data)) && isDef((i = i.attrs)) && i.type
const typeB = isDef((i = b.data)) && isDef((i = i.attrs)) && i.type
return typeA === typeB || (isTextInputType(typeA) && isTextInputType(typeB))
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does sameInputType() do?
sameInputType() is a function in the vue codebase, defined in src/core/vdom/patch.ts.
Where is sameInputType() defined?
sameInputType() is defined in src/core/vdom/patch.ts at line 48.
What calls sameInputType()?
sameInputType() is called by 1 function(s): sameVnode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free