IsUnitHidden

Parameters
whichUnitunit
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 (raise an issue to discuss on Github or submit a PR)
return type
boolean
Source code
constant native IsUnitHidden        takes unit whichUnit returns boolean