---@diagnostic disable: missing-return, lowercase-global
---@meta

---@param unit string
---@param name string
---@return 1nil inVehicle
---Returns whether a unit is in a vehicle. A unit can be riding in a vehicle without controlling it: to test whether a unit is controlling a vehicle, use UnitControllingVehicle or UnitHasVehicleUI. Note: multi-passenger mounts appear as vehicles for passengers but not for the owner.
function UnitInVehicle(unit, name) end
