Funzioni di tipo

Funzioni di tipo

Nome Descrizione
TYPE Restituisce il tipo di valore come STRING.

TIPO

Sintassi:

type(input: ANY) -> STRING

Descrizione:

Restituisce una rappresentazione stringa del tipo input.

Se viene fornito un valore assente, restituisce NULL.

Esempi:

input type(input)
NULL "null"
true "boolean"
1 "int32"
-3L "int64"
3.14 "float64"
2024-01-01T00:00:00Z UTC "timestamp"
"foo" "string"
b"foo" "byte"
[1, 2] "array"
{"a": 1} "map"
path("c/d") "reference"
vector([1.0, 2.0]) "vector"
ABSENT NULL