Skip to content

Literals & Types

Literals are the values you can write directly inside an expression. Everything else comes from the context object, property access, functions, or transforms.

ExpressionResultNote
4242number
"hello world""hello world"string (single or double quotes)
truetrueboolean
nullnull
undefinedundefineduseful with ?? fallbacks

More number formats

ExpressionResultNote
3.143.14decimals
1_000_0001000000underscores for readability (ignored)
0xFF255hexadecimal
0b101010binary
1.5e31500scientific notation

Remember: arrays, objects, and template strings have their own syntax sections below. If a value belongs to your application state, pass it in through the context object and reference it by name.