MCPcopy Create free account
hub / github.com/PenguLoader/PenguLoader / isAnnounceEvent

Method isAnnounceEvent

plugins/src/preload/rcp/hooks.ts:24–26  ·  view source on GitHub ↗
(event: Event)

Source from the content-addressed store, hash-verified

22 static readonly PREF_LEN = this.PREF.length;
23
24 static isAnnounceEvent(event: Event): event is RcpAnnouceEvent {
25 return event.type.startsWith(this.PREF);
26 }
27
28 constructor() {
29 const self = this;

Callers 1

dispatchEventWrapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected