MCPcopy Create free account
hub / github.com/cameri/nostream / isDeleteEvent

Function isDeleteEvent

src/utils/event.ts:205–207  ·  view source on GitHub ↗
(event: Event)

Source from the content-addressed store, hash-verified

203}
204
205export const isDeleteEvent = (event: Event): boolean => {
206 return event.kind === EventKinds.DELETE
207}
208
209export const isRequestToVanishEvent = (event: Event, relayUrl?: string): boolean => {
210 if (event.kind !== EventKinds.REQUEST_TO_VANISH) {

Callers 3

event.spec.tsFile · 0.90
eventStrategyFactoryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected