MCPcopy Index your code
hub / github.com/codebymitch/TitanBot / exists

Method exists

src/utils/database.js:94–100  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

92 }
93
94 async exists(key) {
95 if (this.db.exists) {
96 return this.db.exists(key);
97 }
98 const value = await this.db.get(key);
99 return value !== null;
100 }
101
102 async increment(key, amount = 1) {
103 if (this.useFallback) {

Callers 1

executeFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected