Skip to content

Kirby 5.5.1

A::last()

Returns the last element of an array

A::last(array $array): mixed

Parameters

Name Type Default
$arrayrequired array no default value

Return type

mixed

Parent class

Kirby\Toolkit\A