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

Function isFileMessageEvent

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

Source from the content-addressed store, hash-verified

272}
273
274export const isFileMessageEvent = (event: Event): boolean => {
275 return event.kind === EventKinds.FILE_MESSAGE
276}
277
278// NIP-03: OpenTimestamps attestation
279export const isOpenTimestampsEvent = (event: Event): boolean => {

Callers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected