Skip to content

Count

Int Count(Array<ObjectType> array)

System · system operation · implicitly imported

Returns the number of elements in an array.

Parameters

  • Array<ObjectType> array — The array to count.

Returns

Int — The number of elements in array.

Errors

A runtime type error if array is not an Array.

See Also