UnitHasBuffsEx

Parameters
whichUnitunit
removePositiveboolean
removeNegativeboolean
magicboolean
physicalboolean
timedLifeboolean
auraboolean
autoDispelboolean
comment

Checks if a given unit has any buff matching criteria.

note

See UnitCountBuffsEx for parameters and criteria explanations.

patch

1.07

Source
common.j (suggest an edit or discuss on Github)
return type
boolean
Source code
native UnitHasBuffsEx               takes unit whichUnit, boolean removePositive, boolean removeNegative, boolean magic, boolean physical, boolean timedLife, boolean aura, boolean autoDispel returns boolean