WoW API < UnitIsVisible

Indicates whether the game client (rather than the player) can see unit.

(String unit)
UnitId of the unit

Number - 1 if client can see unit, nil if not

The game client can see objects (including units) that the server has told it to load (and has not yet told it to unload). The server provides objects in a 100-yard radius, but seems to load them in batches.
This does not check for line-of-sight, only for game client visibility.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.