count

inline fun count(): Int

Returns the number of elements in this array.


inline fun count(predicate: (Vector2I) -> Boolean): Int

Returns the number of elements matching the given predicate.