GroupAddUnit

Parameters
whichGroupgroup

Target group.

whichUnitunit

Target unit.

comment

Appends unit at the end of group, increasing size by 1 (see BlzGroupGetSize). Returns true if the unit was added, false if the unit is already in the group or the group is destroyed.

Even if there's a null "hole" at index 0, the unit will still be added at the tail end.

patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
boolean
Source code
native GroupAddUnit                         takes group whichGroup, unit whichUnit returns boolean