Availability
This routine is available starting with katl-commons 1.0.
Syntax
arraySize(array)
Description
Returns the size of the given array.Alias
size(array)
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
array | array | Yes | Array size will be returned. |
Returns
number
Example
size(watchers); // returns the number of watchers
See also