Skip to content

Kirby 5.4.3

$options->last()

Returns the last element

$options->last(): Kirby\Option\Option|null

Return types

Kirby\Option\Optionornull

This method modifies the existing $options object it is applied to and returns it again.

Parent class

Kirby\Option\Options inherited from Kirby\Toolkit\Collection