Files
wow_Meta/api/CanInspect.lua
2024-12-16 13:13:08 +01:00

7 lines
362 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param unit string
---@param showError boolean
---@return 1nil canInspect
---Returns whether a unit can be inspected. Returns nil if the unit is out of inspect range, if the unit is an NPC, or if the unit is flagged for PvP combat and hostile to the player.
function CanInspect(unit, showError) end