For AI agents: the complete documentation index is available at /hclapi/llms.txt, the full documentation bundle is available at /hclapi/llms-full.txt, and this page is available as Markdown at /hclapi/docs/manifest/functions/math/min.md.

min

Returns the smallest value from a sequence of numbers.

Signature

min(...numbers: number) -> number

Parameters

ParameterTypeRequiredDescription
numbersnumberat least 1Candidate values

Return value

Returns the documented result for the function signature.

Example

args = { limit = min(coalesce(ctx.request.query.limit, 20), 100) }