m
Move page script moved page API IsInGroup to WoW:API IsInGroup without leaving a redirect
(no need to use the function twice in if/else statement; removed notes) |
m (Move page script moved page API IsInGroup to WoW:API IsInGroup without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
''Added in {{mists-inline}} 5.0.4'' | ''Added in {{mists-inline}} 5.0.4'' | ||
isGroup = IsInGroup() | isGroup = IsInGroup([groupType]) | ||
Determines if the player is in a | Determines whether the player is in a party or a raid group | ||
== Arguments == | |||
; groupType (optional) | |||
: The type of group: | |||
:* LE_PARTY_CATEGORY_HOME - true if the player is in a local or manual group. | |||
:* LE_PARTY_CATEGORY_INSTANCE - true if the player is in a instance type group. (e.g. LFG, LFR) | |||
== Returns == | == Returns == | ||
:;isGroup: true if the player is in | :;isGroup: true if the player is in any kind of group, otherwise false | ||
== Example == | == Example == | ||