API IsInGroup

From Wowpedia
Jump to: navigation, search

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

inGroup = IsInGroup([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.


Boolean - true if the player is in a groupType group (if groupType was not specified, true if in any type of group), false otherwise.


The HOME category includes Parties and Raids. It is possible for a character to belong to a party or a raid at the same time they are in an instance group (LFR or Flex). To distinguish between a party and a raid, use the IsInRaid() function.

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added groupType argument.