array.len()

Returns the length of a given array

array.len( )

Returns: Number

This function does not take any arguments.

Examples

numbers = ["one","two","three","four"];
res = numbers.len();
writeDump(res);
fruits = ["apple","orange","banana"];
res = fruits.len();
writeDump(res);

See also