Skip to content

Kirby 4.2.0

A::count()

Counts the number of elements in an array

A::count(array $array): int

Parameters

Name Type Default
$array * array

Return type

int

Parent class

Kirby\Toolkit\A