Skip to content

Kirby 6.0.0

$fieldsets->nth()

Returns the nth element from the collection

$fieldsets->nth(int $n): Fieldset|null

Parameters

Name Type Default
$nrequired int no default value

Return types

Kirby\Cms\Fieldsetornull

Parent class

Kirby\Cms\Fieldsets inherited from Kirby\Toolkit\Collection