C_EventUtils.IsEventValid

From Warcraft Wiki
Jump to navigation Jump to search

Checks if a named event exists and can be registered for.

valid = C_EventUtils.IsEventValid(eventName)

Arguments

eventName
string - The name of the event to query.

Returns

valid
boolean - true if the named event exists and can be registered for, false if not.

Patch changes

Dragonflight Patch 10.0.0 (2022-10-25): Added.