Search
Loading...
Skip to content

Type Alias: OrderComponentMatcher

type OrderComponentMatcher<C> = C["id"] | Partial<C> | (component, index) => boolean;

Represents a matcher for order components.

The OrderComponentMatcher type defines the possible matchers for order components. It includes predefined matchers for component IDs, partial components, and custom matchers.

Type Parameters#

Type Parameter
C extends OrderComponent