Utility

Prev Next

A set of general purpose functions and filters.

Utility

Filter Variants

The set of predefined filter variants that can be used to format values.

asString

Converts the input value to a string.

Name: asString

Input Types: ANY

Output Type: STRING

Default Value

Converts a null, empty string or undefined to a default value (e.g. N/A).

Name: toDefault

Input Types: ANY

Output Type: HTML

Parameters

toDefault:{"def": "N/A"}

Default Value

The default value to be displayed.

Name: def

Type: STRING | Optional

Format JSON

Converts the input value to a JSON formatted text.

Name: formatJson

Input Types: ANY

Output Type: HTML