HomeManualTopicsTypesSymbols

std::min

returns the smallest of its (potentially) many arguments

Parameter

args*
the arguments to compare

Result

value
the smallest of the arguments

Example

println! min(47 11 32)

Output

11

Topic

Math

See also

std::max returns the largest of its (potentially) many arguments
std::min_max returns the smaller and the larger of its two arguments