@orangecheck/nostr-core / matchFilter
Function: matchFilter()
function matchFilter(event: NostrEvent, filter: Filter): boolean;
Defined in: index.ts:273
True when event satisfies every constraint in filter (NIP-01 semantics; limit is ignored).
Parameters
| Parameter | Type |
|---|---|
event | NostrEvent |
filter | Filter |
Returns
boolean