TypstDocumentation

calc.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

calc.max(
..any
) -> any

values
any
RequiredPositional
Question mark
Variadic
Question mark

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