all

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

Return

true if all elements match the predicate. True for an empty array. Does not use GdxArray.iterator, so it does not allocate and can be safely nested.