Skip to content

Kirby 5.1.2

$options->last()

Returns the last element

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

Return type

Kirby\Option\Option

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