IsUnitHidden

Parameters
whichUnit unit
comment

Returns true if whichUnit is hidden, for example by means of ShowUnit.

note

A comment in Blizzard.j, ReplaceUnitBJ states that it's "sometimes unsafe to remove hidden units", as a workaround it calls KillUnit right before RemoveUnit.

patch

1.00

Source
common.j (suggest an edit or discuss on Github)
return type
boolean
Source code
constant native IsUnitHidden        takes unit whichUnit returns boolean