indexOfFirst
@ExperimentalUnsignedTypes
inline
fun
ULongArray
.
indexOfFirst
(
predicate
:
(
ULong
)
->
Boolean
)
:
Int
(source)
@ExperimentalUnsignedTypes
inline
fun
UByteArray
.
indexOfFirst
(
predicate
:
(
UByte
)
->
Boolean
)
:
Int
(source)
@ExperimentalUnsignedTypes
inline
fun
UShortArray
.
indexOfFirst
(
predicate
:
(
UShort
)
->
Boolean
)
:
Int
(source)
Returns index of the first element matching the given predicate , or -1 if the array does not contain such element.
Returns index of the first element matching the given predicate , or -1 if the collection does not contain such element.