Skip to content

Kirby 5.0.4

A::count()

Counts the number of elements in an array

A::count(array $array): int

Parameters

Name Type Default
$arrayrequired array no default value

Return type

int

Parent class

Kirby\Toolkit\A