size Filter

Number of elements within an array.

Parameters

None.

Category

Array Filters

Description

Returns a count of the number of elements within an array.

There are {{ audio.embed_urls | size }} web-safe audio formats.

You can also access the size of an array by using dot notation:

There are {{ audio.embed_urls.size }} web-safe audio formats.