type()
Syntax
type(expr)
Returns the string value indicating type of the expression. Possible outcomes
are null
, number
, string
, list
, map
, iterator
, function
, task
,
as well as minecraft related concepts like block
, entity
, nbt
, text
.