API IsInRaid

Indicates whether the player is in a [specific type of] raid group.

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  raid group (if   was not specified, true if in any type of raid), false otherwise