Skip to content

Kirby 4.2.0

$fields->count()

Counts all elements

$fields->count(): int

Return type

int

Parent class

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