Berserk Docs
Scalar FunctionsMath Functions

min_of

Return the minimum of 2 to 64 comparable arguments.

All arguments must belong to the same family (numeric, datetime, timespan, string, or bool). Null arguments are skipped; if every argument is null the result is null.

Syntax

min_of(arg)

Parameters

Prop

Type

Returns: dynamic

Examples

Example 1

print min_of(3, 1, 2)
print_0 (long)
1

On this page