Skip to content

Kirby 4.5.0

$fields->count()

Counts all elements

$fields->count(): int

Return type

int

Parent class

Kirby\Form\Fields inherited from Kirby\Toolkit\Iterator