Skip to content

Kirby 4.4.1

$collection->keys()

Returns an array of all keys

$collection->keys(): array

Return type

array

Parent class

Kirby\Toolkit\Collection inherited from Kirby\Toolkit\Iterator