Skip to content

min

const min: <T>(…args: [Iterable<T, any, any>] | T[]) => T = builtins.min

Defined in: packages/pythonlib/src/index.ts:164

Return the smallest item in an iterable or the smallest of two or more arguments.

Type Parameters

Type Parameter
T

Parameters

ParameterTypeDescription
args[Iterable<T, any, any>] | T[]An iterable, or multiple values to compare

Returns

T

The minimum value

See

Python min()