Typeof Function
The typeof function returns the type of a value. A list of the corresponding types can be found here. The typeof function has one argument input and is used like this:
var a = 5var b = "hello"var c = falsevar d = nullvar e = [1, 2, 3, 4]
print(typeof(a)) # Numberprint(typeof(b)) # Stringprint(typeof(c)) # Booleanprint(typeof(d)) # Nullprint(typeof(e)) # Array