# Array Length ![](../img/array_length.png) ### Description Outputs the number of elements in the array. An empty array gives 0. Valid indices run from 0 to **Length** minus one. #### Ports | Name | Description | | |---|---|---| | ![](../img/types/array.png) | **Array** | The array to measure. | | ![](../img/types/int.png) | **Length** | The number of elements in the array. | ## See Also - [Get Element](../../../../../code/plugins/scenariomanager/node_library/array/get.md) - [For Each](../../../../../code/plugins/scenariomanager/node_library/array/for_each.md) - [Array Make](../../../../../code/plugins/scenariomanager/node_library/array/make.md)