Skip to content

Kirby 4.5.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