tipo( )¶
The tipo( ) function returns the type of value stored in a variable or memory.
The values that this function can return can be found in data types.
x = 123
escribir(tipo(x)) //Returns decimal
x = "Hello world"
escribir(tipo(x)) //Returns cadena
x = ["Hello", "world"]
escribir(tipo(x)) //Returns lista
x = {"Message":"Hello", "Planet":"world"}
escribir(tipo(x)) //Returns diccionario
x = verdadero
escribir(tipo(x)) //Returns logico
x = nulo
escribir(tipo(x)) //Returns nulo