Returns whether two units are friendly


See also Unit functions.

Signature:

isFriends = UnitIsFriend("unit", "unit")

Arguments:

  • unit - A unit (string, unitID)
  • unit - Another unit (string, unitID)

Returns:

  • isFriends - 1 if the two units are friendly; otherwise nil (1nil)