Returns whether a unit is trivial at the player's level. Killing trivial units (whose level is colored gray in the default UI) does not reward honor or experience.
See also Unit functions.
Signature:
isTrivial
=
UnitIsTrivial("unit")
Arguments:
unit
- A unit to query (string
, unitID)
Returns:
isTrivial
- 1 if the unit is trivial at the player's level; otherwise nil (1nil
)