Get the type name of a value
Returns a string representation of the value’s type (e.g., “Int”, “String”, “List”).
Any
The type name.
type(123) -- Returns = "Int" type([1, 2]) -- Returns = "List"