Skip to content

Kirby 4.4.1

$collection->current()

Returns the current element

$collection->current(): mixed|null

Return type

mixed|null

Parent class

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