型関数

型関数

名前 説明
TYPE 値の型を STRING として返します。

TYPE

構文:

type(input: ANY) -> STRING

説明:

input 型の文字列表現を返します。

欠損値を指定した場合は、NULL を返します。

例:

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" "bytes"
[1, 2] "array"
{"a": 1} "map"
path("c/d") "reference"
vector([1.0, 2.0]) "vector"
ABSENT NULL