Skip to content

bmel:min-of

Category: Array & Statistics · Returns: bmel:number

Signature
bmel:min-of(array: bmel:array<number>)

Description

Returns the minimum numeric value in an array.

Arguments

Parameter Type Required Description
array bmel:array<number> The array of numeric values.

Examples

Fastest LLM call of a run
bmel:min-of({createChatCompletion:Response Payload[]}.$.latency_ms)
Cheapest item
bmel:min-of({getOrder:Response Payload}.$.items.price)

← Back to BMEL Reference