Skip to content

Kirby 4.5.0

$blocks->last()

Returns the last element

$blocks->last(): mixed

Return type

mixed

Parent class

Kirby\Cms\Blocks inherited from Kirby\Toolkit\Collection