type of
(
value
)
type
Type:
For any types
t
(
t
)
-> @apply Type(
t
)
Gets the type of the given value.
Examples
Click an example to insert it
as type
(
type of
([
3
])
, from text
(
"
[
1, 2, 5
]
"
))
→
[
1, 2, 5
]
type of
([(
a:true, b:6
)])
→
type{
[(
a:Boolean, b:Number
)]
}
type of
((
t: time{00:00}, s: 21{s}
))
→
type{
(
t: Time, s: Number{s}
)
}