Fermat
Search
K

Reflection

You can inspect the type of a variable by using type of [ID].
Input:
set message to "Welcome on board!"
type of message
type of [1,2,"red"]
Output:
> PString
> PList
In the case of a block, you can inspect which type of block is it with the same instruction type of [ID].
Input:
set text to new "text"
type of text
Output:
> t@text
Last modified 1yr ago