isEventTypeSame
isEventTypeSame(
given,expected):boolean
Defined in: src/@types/extensible_events.ts:128
Determines if two event types are the same, including namespaces.
Parameters
Section titled “Parameters”ExtensibleEventType | null
The given event type. This will be compared against the expected type.
expected
Section titled “expected”ExtensibleEventType | null
The expected event type.
Returns
Section titled “Returns”boolean
True if the given type matches the expected type.