int
, float
, string
, ...).integer
and float
are separate types, but most of the time you should not have to worry about it and consider it as a more generic and virtual number
type.true
or false
.\n
, \t
, \r
, \
and "
characters in strings, with proper escaping (\
and "
must be preceded by a \
while a single \
will be ignored). For example: NULL
is its own type. Missing values evaluate to NULL
. The CSML interpreter will automatically parse the object with the usual dot notation x.y.z
and detect the type of the resulting property. If one of the properties in the chain does not exist or is not an object itself, it will evaluate to NULL
.Object()
helper function or by using a shorthand notation similar to JSON format.["a", "b", "c"]
) with the foreach
keyword, and access any of its items by using its index in square brackets notation: items[2]
.array.push(elem)
or removing the last element with array.pop()
.Text(value)
component or use the curly-brace template syntax "{{value}}"