$layouts->nth()
Returns the nth element from the collection
$layouts->nth(int $n): Layout|null
Parameters
| Name | Type | Default |
|---|---|---|
| $nrequired | int |
no default value |
Return types
Kirby\Cms\Layoutornull
Parent class
Kirby\Cms\Layouts
inherited from Kirby\Toolkit\Collection