→ WoW API
Very useful to determine if a mod should be doing something if your ("unit" => "player") is a ghost.
Returns 1 if "unit" is a ghost, nil otherwise.
It is unknown how this works for "pet", but since a pet is never a ghost...
Community content is available under CC-BY-SA unless otherwise noted.