MCPcopy Create free account
hub / github.com/fastify/fastify / checkReplyExistence

Function checkReplyExistence

lib/decorate.js:108–112  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

106}
107
108function checkReplyExistence (name) {
109 if (name && hasKey(this[kReply], name)) return true
110 if (name && hasInstanceProperty(this[kReply], name)) return true
111 return checkExistence(this[kReply].prototype, name)
112}
113
114function checkDependencies (instance, name, deps) {
115 if (deps === undefined || deps === null) {

Callers

nothing calls this directly

Calls 3

hasKeyFunction · 0.85
hasInstancePropertyFunction · 0.85
checkExistenceFunction · 0.85

Tested by

no test coverage detected