UnitHasBuffBJ

Parameters
whichUnit unit
buffcode integer
comment
patch

1.13

Source
Blizzard.j (suggest an edit or discuss on Github)
return type
boolean
Source code
function UnitHasBuffBJ takes unit whichUnit, integer buffcode returns boolean
    return (GetUnitAbilityLevel(whichUnit, buffcode) > 0)
endfunction