Skip to content

Kirby 4.4.1

$path->last()

Returns the last element

$path->last(): mixed

Return type

mixed

Parent class

Kirby\Http\Path inherited from Kirby\Toolkit\Collection