Skip to content

Welshman Docs / @welshman/util / isPlainReplaceableKind

Function: isPlainReplaceableKind() ​

isPlainReplaceableKind(kind): boolean

Defined in: node_modules/nostr-tools/lib/types/kinds.d.ts:5

Events are replaceable, which means that, for each combination of pubkey and kind, only the latest event is expected to (SHOULD) be stored by relays, older versions are expected to be discarded.

Parameters ​

kind ​

number

Returns ​

boolean