A2uiRequiredFunction


class A2uiRequiredFunction : A2uiFunction


Validates that a value is present and not empty.

Use this A2uiFunction to check for non-empty values.

Summary

Public companion properties

A2uiRequiredFunction

Public functions

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

Checks if the value in args is present and not empty.

Public properties

open A2uiFunctionDefinition

The definition of the function.

Public companion properties

INSTANCE

val INSTANCEA2uiRequiredFunction

Public functions

execute

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

Checks if the value in args is present and not empty.

Parameters
args: Map<StringAny>

arguments containing the "value" to check

executionContext: A2uiExecutionContext

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

Returns
Any?

true if the value is not missing, not null, and not empty

Public properties

definition

open val definitionA2uiFunctionDefinition

The definition of the function.