Skip to content

Kirby 6.0.0

A::count()

Counts the number of elements in an array

A::count(array $array): non-negative-int

Parameters

Name Type Default
$arrayrequired array no default value

Return type

non-negative-int

Parent class

Kirby\Toolkit\A