Skip to content

Kirby 4.1.2

$collection->last()

Returns the last element

$collection->last(): mixed

Return type

mixed

Parent class

Kirby\Toolkit\Collection