Skip to content

isEventTypeSame

isEventTypeSame(given, expected): boolean

Defined in: src/@types/extensible_events.ts:128

Determines if two event types are the same, including namespaces.

ExtensibleEventType | null

The given event type. This will be compared against the expected type.

ExtensibleEventType | null

The expected event type.

boolean

True if the given type matches the expected type.