hasHandler.has() — vue Function Reference
Architecture documentation for the hasHandler.has() function in proxy.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 723ee987_5350_024a_0b28_5fa27f073868["hasHandler.has()"] 18330ec4_c733_5eb5_21fe_6f99d09ac84f["proxy.ts"] 723ee987_5350_024a_0b28_5fa27f073868 -->|defined in| 18330ec4_c733_5eb5_21fe_6f99d09ac84f 03f6ea8e_d1ec_464e_79e6_2aa3037feab7["warnReservedPrefix()"] 723ee987_5350_024a_0b28_5fa27f073868 -->|calls| 03f6ea8e_d1ec_464e_79e6_2aa3037feab7 fd99f37e_a954_bd15_751e_2a9a1b5948ab["warnNonPresent()"] 723ee987_5350_024a_0b28_5fa27f073868 -->|calls| fd99f37e_a954_bd15_751e_2a9a1b5948ab style 723ee987_5350_024a_0b28_5fa27f073868 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/instance/proxy.ts lines 59–71
has(target, key) {
const has = key in target
const isAllowed =
allowedGlobals(key) ||
(typeof key === 'string' &&
key.charAt(0) === '_' &&
!(key in target.$data))
if (!has && !isAllowed) {
if (key in target.$data) warnReservedPrefix(target, key)
else warnNonPresent(target, key)
}
return has || !isAllowed
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does hasHandler.has() do?
hasHandler.has() is a function in the vue codebase, defined in src/core/instance/proxy.ts.
Where is hasHandler.has() defined?
hasHandler.has() is defined in src/core/instance/proxy.ts at line 59.
What does hasHandler.has() call?
hasHandler.has() calls 2 function(s): warnNonPresent, warnReservedPrefix.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free