Skip to content

Kirby 6.0.0

$tabs->nth()

Returns the nth element from the collection

$tabs->nth(int $n): Tab|null

Parameters

Name Type Default
$nrequired int no default value

Return types

Kirby\Blueprint\Tabornull

Parent class

Kirby\Blueprint\Tabs inherited from Kirby\Toolkit\Collection