Array Representation
Array based representation is simpler that Object Based since it uses an array to indicate the function that is being used and its arguments.
Syntax#
There are two parts(keys) to the array representation syntax and its based on its index, not property unlike object
0: This index is a string that denotes the name of the function.1: This index contains an array of arguments.
Arguments result_type x type variants syntax#
The following syntax's are used as arguments for specific variants.
number x symbol:
'e' | 'pi'number x constant:
1 | 2number x property:
{property: "Number"}number x function:
["abs", [1]]text x constant:
'1' | 'a'text x property:
{property: "Text"}text x function:
["concat",["a", "b"]]checkbox x symbol:
true | falsecheckbox x property:
{property: "Checkbox"}checkbox x function:
["and", [false, true]]date x property:
{property: "Date"}date x function:
["now"]