tinymist_std::typst::foundations::calc

Function min

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

Determines the minimum of a sequence of values.

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