$fields->nth()
Returns the nth element from the collection
$fields->nth(int $n): mixed
Parameters
| Name | Type | Default |
|---|---|---|
| $n * | int |
– |
Return type
mixed
Parent class
Kirby\Form\Fields inherited from Kirby\Toolkit\Collection
Returns the nth element from the collection
$fields->nth(int $n): mixed
| Name | Type | Default |
|---|---|---|
| $n * | int |
– |
mixed
Kirby\Form\Fields inherited from Kirby\Toolkit\Collection