TypstDocumentation

max

Determine the maximum of a sequence of values.

Example

#calc.max(1, -3, -5, 20, 3, 6) \
#calc.max("typst", "in", "beta")
Preview

Parameters
Question mark

max(
...any
) -> any

values
anyPositional
Question mark
Variadic
Question mark

The sequence of values from which to extract the maximum. Must not be empty.