min
constmin: <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
| Parameter | Type | Description |
|---|---|---|
…args | [Iterable<T, any, any>] | T[] | An iterable, or multiple values to compare |
Returns
T
The minimum value