checkExistence() — fastify Function Reference
Architecture documentation for the checkExistence() function in decorate.js from the fastify codebase.
Entity Profile
Dependency Diagram
graph TD 1a95bc02_b753_7419_3efc_0b867baa83a6["checkExistence()"] b5b3567f_29bc_3ac4_2dcc_eba5eeb01c3e["decorate.js"] 1a95bc02_b753_7419_3efc_0b867baa83a6 -->|defined in| b5b3567f_29bc_3ac4_2dcc_eba5eeb01c3e 8264c18b_01b7_d987_173c_5466d71c415f["getInstanceDecorator()"] 8264c18b_01b7_d987_173c_5466d71c415f -->|calls| 1a95bc02_b753_7419_3efc_0b867baa83a6 a9a61a5e_2cba_4205_859b_f872bab3de47["checkRequestExistence()"] a9a61a5e_2cba_4205_859b_f872bab3de47 -->|calls| 1a95bc02_b753_7419_3efc_0b867baa83a6 05dd292f_1c2f_7477_7833_697ccfd5b992["checkReplyExistence()"] 05dd292f_1c2f_7477_7833_697ccfd5b992 -->|calls| 1a95bc02_b753_7419_3efc_0b867baa83a6 7d734264_83ae_0f9a_4ed9_57cba3726f85["checkDependencies()"] 7d734264_83ae_0f9a_4ed9_57cba3726f85 -->|calls| 1a95bc02_b753_7419_3efc_0b867baa83a6 11692e5b_f016_8497_4047_012d2b7bdd24["hasKey()"] 1a95bc02_b753_7419_3efc_0b867baa83a6 -->|calls| 11692e5b_f016_8497_4047_012d2b7bdd24 style 1a95bc02_b753_7419_3efc_0b867baa83a6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
lib/decorate.js lines 81–87
function checkExistence (instance, name) {
if (name) {
return name in instance || (instance.prototype && name in instance.prototype) || hasKey(instance, name)
}
return instance in this
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does checkExistence() do?
checkExistence() is a function in the fastify codebase, defined in lib/decorate.js.
Where is checkExistence() defined?
checkExistence() is defined in lib/decorate.js at line 81.
What does checkExistence() call?
checkExistence() calls 1 function(s): hasKey.
What calls checkExistence()?
checkExistence() is called by 4 function(s): checkDependencies, checkReplyExistence, checkRequestExistence, getInstanceDecorator.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free