firstNonNegativeOf

fun firstNonNegativeOf(vararg floats: Float): Float?

The first non-negative value of the values provided, or null if none of the values is non-negative.