API UnitInRange

Returns true if the unit is within 40 yards range (25 yards for Evokers).
 inRange, checkedRange = UnitInRange(unit)
==Arguments==
:;unit:
==Returns==
:;inRange: - true if the unit is within 40 (25 for Evokers) yards of the player
:;checkedRange: - true if a range check was actually performed; false if the information about distance to the queried unit is unavailable.
==Patch changes==