• Validate if an event type exists in the registry

    Returns

    True if the event type exists

    Type Parameters

    Parameters

    • eventType: string

      The event type to check

    • registry: T = ...

      Optional custom registry (defaults to EventSchemas)

    Returns eventType is Extract<keyof T, string>