Skip to content

bmel:maxInlineOf

Category: Math · Returns: bmel:number

Variadic function

Accepts a variable number of arguments of the same type.

bmel:maxInlineOf(values: bmel:number...)

Description

Returns the maximum value from two or more inline numeric arguments. Unlike bmel:maxOf which operates on an array source, this function accepts individual scalar values directly.

Arguments

Parameter Type Required Description
values ... bmel:number Two or more numeric values to compare. Returns the largest.

Example

bmel:maxInlineOf({order:Response Payload}.$.input_tokens, {order:Response Payload}.$.output_tokens)

Back to BMEL Reference