This can be done using built-in functions: - tostring - toboolean - tonumber the `type` function returns the type of its argument: - string - boolean - number - array - object - null