Skip to content

Kirby 4.5.0

$collection->keys()

Returns an array of all keys

$collection->keys(): array

Return type

array

Parent class

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