MCPcopy Index your code
hub / github.com/cameri/nostream / isDirectMessageEvent

Function isDirectMessageEvent

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

Source from the content-addressed store, hash-verified

268}
269
270export const isDirectMessageEvent = (event: Event): boolean => {
271 return event.kind === EventKinds.DIRECT_MESSAGE
272}
273
274export const isFileMessageEvent = (event: Event): boolean => {
275 return event.kind === EventKinds.FILE_MESSAGE

Callers 3

event.spec.tsFile · 0.90
isEventValidMethod · 0.90
createMirrorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected