---@diagnostic disable: missing-return, lowercase-global ---@meta ---@param index number ---@param bookType spell ---@param pet ---@param spell ---@param name string ---@return 1nil hasRange ---Returns whether an item has a range limitation for its use. For example: Shadowbolt can only be used on a unit within a given range of the player; Ritual of Summoning requires a target but has no range restriction; Fel Armor has no target and thus no range restriction. function SpellHasRange(index, bookType, pet, spell, name) end