Skip to content

_type

Parameters

  • object any

Returns

  • object type string

Raise

  • none

Examples

local my_object = Vehicle(...)
if _type(my_object) == 'Vehicle' then
    -- internal usage, used to get the type of a Class
end