minWithOrNull
@ExperimentalUnsignedTypes
fun
UIntArray
.
minWithOrNull
(
comparator
:
Comparator
<
in
UInt
>
)
:
UInt
?
(source)
@ExperimentalUnsignedTypes
fun
ULongArray
.
minWithOrNull
(
comparator
:
Comparator
<
in
ULong
>
)
:
ULong
?
(source)
@ExperimentalUnsignedTypes
fun
UByteArray
.
minWithOrNull
(
comparator
:
Comparator
<
in
UByte
>
)
:
UByte
?
(source)
@ExperimentalUnsignedTypes
fun
UShortArray
.
minWithOrNull
(
comparator
:
Comparator
<
in
UShort
>
)
:
UShort
?
(source)
Returns the first element having the smallest value according to the provided
comparator
or
null
if there are no elements.
fun
<
K
,
V
>
Map
<
out
K
,
V
>
.
minWithOrNull
(
comparator
:
Comparator
<
in
Entry
<
K
,
V
>
>
)
:
Entry
<
K
,
V
>
?
(source)
Returns the first entry having the smallest value according to the provided
comparator
or
null
if there are no entries.