Returns whether a unit is flagged for PvP activity


See also Unit functions.

Signature:

isPVP = UnitIsPVP("unit")

Arguments:

  • unit - A unit to query (string, unitID)

Returns:

  • isPVP - 1 if the unit is flagged for PVP activity; otherwise nil (1nil)