Returns whether the tooltip is displaying information for a given unit

Signature:

isUnit = GameTooltip:IsUnit("unit")

Arguments:

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

Returns:

  • isUnit - 1 if the tooltip is displaying information for the unit; otherwise nil (1nil)