A2uiNumericFunction


class A2uiNumericFunction : A2uiFunction


Validates numeric range limits.

Use this A2uiFunction to check minimum and maximum value bounds.

Summary

Public companion properties

A2uiNumericFunction

Public functions

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

Validates that the numeric value in args meets range requirements.

Public properties

open A2uiFunctionDefinition

The definition of the function.

Public companion properties

INSTANCE

val INSTANCEA2uiNumericFunction

Public functions

execute

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

Validates that the numeric value in args meets range requirements.

Parameters
args: Map<StringAny>

arguments containing "value" number and optional "min" or "max" limits

executionContext: A2uiExecutionContext

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

Returns
Any?

true if the number is within bounds, false otherwise

Public properties

definition

open val definitionA2uiFunctionDefinition

The definition of the function.