Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns true if the player is in a raid.
isInRaid = IsInRaid([groupType])
Arguments[]
- groupType
- number? - To check for a specific type of group, provide one of:
- LE_PARTY_CATEGORY_HOME : checks for home-realm parties.
- LE_PARTY_CATEGORY_INSTANCE : checks for instance-specific groups.
Returns[]
- isInRaid
- boolean - true if the player is currently in a
groupType
raid group (ifgroupType
was not specified, true if in any type of raid), false otherwise
Details[]
This returns true in arenas if groupType is LE_PARTY_CATEGORY_INSTANCE or is unspecified.
Patch changes[]
Patch 5.0.4 (2012-08-28): Added.