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 eb4824cc_1530_1ed7_6f52_d884d6a13c23["hasHandler.has()"] a447ea1a_a216_ae24_720e_e51a57deb910["warnReservedPrefix()"] eb4824cc_1530_1ed7_6f52_d884d6a13c23 -->|calls| a447ea1a_a216_ae24_720e_e51a57deb910 298f4650_25a3_9767_7c31_38001689eade["warnNonPresent()"] eb4824cc_1530_1ed7_6f52_d884d6a13c23 -->|calls| 298f4650_25a3_9767_7c31_38001689eade style eb4824cc_1530_1ed7_6f52_d884d6a13c23 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
Source
Frequently Asked Questions
What does hasHandler.has() do?
hasHandler.has() is a function in the vue codebase.
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