Skip to main content
Version: Next

min

Computes the minimum of all grouped values.

min(xs:list) -> number

Description

The min function returns the smallest numeric value in xs.

xs: list

The values to evaluate.

Examples

Find the minimum value

from [
  {x: 1},
  {x: 2},
  {x: 3},
]
summarize min_value=min(x)
{min_value: 1}

See Also

max, mean, sum