GE Lua Documentation

Press F to search!

years

Definition


-- @/lua/ge/extensions/ui/vehicleSelector/vehicleSpecifications.lua:112
  years = function(value)
    if type(value) == 'table' and value.min and value.max and type(value.min) == 'number' and type(value.max) == 'number' then
      return string.format("%d - %d", value.min, value.max)
    else
      return tostring(value)
    end
  end,

Callers