Returns whether a unit is in the player's raid


See also Unit functions, Raid functions.

Signature:

inRaid = UnitInRaid("unit")

Arguments:

  • unit - A unit to query (string, unitID)

Returns:

  • inRaid - Index of the unit in the raid (matches the numeric part of the unit's raid unitID minus 1; e.g. returns 0 for raid1, 12 for raid13, etc) (number)