minOfWithOrNull

inline fun <R> ComplexFloatArray.minOfWithOrNull(comparator: Comparator<in R>, selector: (ComplexFloat) -> R): R?
inline fun <R> ComplexDoubleArray.minOfWithOrNull(comparator: Comparator<in R>, selector: (ComplexDouble) -> R): R?

Returns the smallest value according to the provided comparator among all values produced by selector function applied to each element in the array or null if there are no elements.