$users->nth()
Returns the nth element from the collection
$users->nth(int $n): Kirby\Cms\User|null
Parameters
| Name | Type | Default |
|---|---|---|
| $nrequired | int |
no default value |
Return types
Kirby\Cms\Userornull
This method modifies the existing $users object it is applied to and returns it again.
Parent class
Kirby\Cms\Users
inherited from Kirby\Toolkit\Collection