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

Function startsWith

src/utils/event.ts:42–42  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

40 (filter: SubscriptionFilter) =>
41 (event: Event): boolean => {
42 const startsWith = (input: string) => (prefix: string) => input.startsWith(prefix)
43 const isMatchingGenericTagCriterion = (key: string, criterion: string) => (tag: Tag): boolean => {
44 const [, tagName] = key
45 if (tag[0] !== tagName) {

Callers 1

isEventMatchingFilterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected