list_length

Retrieves the length of an array.

Example

1
{{ [1, 2, 3, 4, 5] | list_length }} => 5

Input

Type Parameter Description Required
array array The array to retrieve the length of. Comes before the | sign. Required

Output

Type Description
int The length of the array