size

inline fun <Type> GdxArray<Type>?.size(): Int

A method wrapper over Array.size variable compatible with nullable types.

Return

current amount of elements in the array.


inline fun GdxIntArray?.size(): Int

A method wrapper over IntArray.size variable compatible with nullable types.

Return

current amount of elements in the array.


inline fun GdxFloatArray?.size(): Int

A method wrapper over FloatArray.size variable compatible with nullable types.

Return

current amount of elements in the array.


inline fun GdxBooleanArray?.size(): Int

A method wrapper over BooleanArray.size variable compatible with nullable types.

Return

current amount of elements in the array.


inline fun GdxMap<*, *>?.size(): Int

A method wrapper over ObjectMap.size variable compatible with nullable types.

Return

current amount of elements in the map.


inline fun <Type> GdxSet<Type>?.size(): Int

A method wrapper over ObjectSet.size variable compatible with nullable types.

Return

current amount of elements in the set.