Skip to main content

length

Return the number of elements in an array.


Examples

Count the number of installed packages:

packages.length