Skip to content

Data transformation functions#

Data transformation functions are helper functions to make data transformation easier in expressions.

JavaScript in expressions

You can use any JavaScript in expressions. Refer to Expressions for more information.

For a list of available functions, refer to the page for your data type:

Usage#

Data transformation functions are available in the expressions editor.

The syntax is:

1
{{ dataItem.function() }}

For example, to check if a string is an email:

1
2
3
{{ "example@example.com".isEmail() }}

// Returns true