tinymist_std::typst::foundations::calc

Function max

pub fn max(
    span: Span,
    values: Vec<Spanned<Value>>,
) -> Result<Value, EcoVec<SourceDiagnostic>>
Expand description

Determines the maximum of a sequence of values.

#calc.max(1, -3, -5, 20, 3, 6) \
#calc.max("typst", "is", "cool")