Formula functions reference

This reference document covers the syntax for using formula functions, as well as available parameter types.

Formula functions syntax

Primitive values

Array constructor

You can use the square bracket [] notation to construct arrays inside an expression. The array can be empty, or you can initialize it with items by separating each item with a comma.

Any valid expressions can be passed as items.

Examples

IS_EMPTY([])
SUM([1,2,3,4])
[pageVars.firstName, pageVars.lastName]
[IS_EMPTY(pageVars.carsLoaded), IS_EMPTY(pageVars.driversLoaded)]

Boolean

true

Object constructor

{}

Null

null

Number

String

Undefined

undefined

Global and page context values

App variable value

appVars namespace

Data reference value

data

Page parameter value

params namespace

Page variable value

pageVars namespace

Sensor variables

sensorVars

System variable

systemVars

Theme variable

theme

UI component context values

Currently repeated item

current

Current UI component

self

Flow function context values

Output of a previous node

outputs