$areas->nth()
Returns the nth element from the collection
$areas->nth(int $n): Area|null
Parameters
| Name | Type | Default |
|---|---|---|
| $nrequired | int |
no default value |
Return types
Kirby\Panel\Areaornull
Parent class
Kirby\Panel\Areas
inherited from Kirby\Toolkit\Collection