Skip to content
Interfacetypesv0.14.4

CustomIdMatcher

Structural shape of a customId matcher. A framework CustomId (from @seedcord/core) satisfies it. Used to type ignoreCustomIds without importing the concrete class, which would create a @seedcord/types to @seedcord/core cycle.

interface CustomIdMatcher

Methods

owns()

True if the raw customId wire was minted from this matcher's prefix.

owns(customId: string): boolean