find

inline fun <Type> GdxArray<Type>.find(predicate: (Type) -> Boolean): Type?

Return

the first element matching the predicate or null if there is none. Alias for firstOrNull.