MCPcopy Index your code
hub / github.com/Fiddle-Digital/string-scroll / has

Method has

src/EventManager.ts:9–11  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

7 this.events.get(id)?.push(event)
8 }
9 public has(id: string) {
10 return this.events.has(id)
11 }
12 public emit(id: string, value: any) {
13 if (this.events.has(id)) {
14 this.events.get(id)?.forEach((event: any) => {

Callers 4

onMethod · 0.80
emitMethod · 0.80
getMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected