A2uiFormatStringFunction


class A2uiFormatStringFunction : A2uiFunction


Performs string interpolation of data model values and other functions.

Use this A2uiFunction to format strings with expressions.

Summary

Public companion properties

A2uiFormatStringFunction

Public functions

open Any?
execute(args: Map<StringAny>, executionContext: A2uiExecutionContext)

Interpolates the given string with bindings.

Public properties

open A2uiFunctionDefinition

The definition of the function.

Public companion properties

Public functions

execute

open fun execute(args: Map<StringAny>, executionContext: A2uiExecutionContext): Any?

Interpolates the given string with bindings.

Parameters
args: Map<StringAny>

arguments containing the "value" string to format

executionContext: A2uiExecutionContext

context allowing to execute other functions, evaluate dynamic payloads and resolving data bindings

Returns
Any?

the formatted string

Public properties

definition

open val definitionA2uiFunctionDefinition

The definition of the function.