func min<T : Comparable>(_: T, _: T, _: T, _: T...)
Returns the least argument passed.
Declaration
func
min
<
T
:
Comparable
>
(
x
:
T
,
_
y
:
T
,
_
z
:
T
,
_
rest
:
T
...) -
>
T
Returns the lesser of
x
andy
.Declaration
func
min
<
T
:
Comparable
>
(
x
:
T
,
_
y
:
T
) -
>
T