typeof(value)

signature
typeof(value: any) -> string

Get the type of a value. The return value is a string representing the type of the value. The possible types are: - `int` - `float` - `string` - `bool` - `array` - `object` - `function` - `null`

Examples

goose
println(typeof(123)) // int
println(typeof("hello")) // string
println(typeof([1, 2, 3])) // array