first Or Null
Returns the first element, or null
if the array is empty.
inline fun ComplexFloatArray.firstOrNull(predicate: (ComplexFloat) -> Boolean): ComplexFloat?
Content copied to clipboard
inline fun ComplexDoubleArray.firstOrNull(predicate: (ComplexDouble) -> Boolean): ComplexDouble?
Content copied to clipboard
Returns the first element matching the given predicate, or null
if element was not found.