any

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

Return

true if at least one element matches the predicate. False for an empty array. Does not use GdxArray.iterator, so it does not allocate and can be safely nested.