$lazyCollection->nth()
Returns the nth element from the collection
$lazyCollection->nth(int $n): mixed|null
Parameters
| Name | Type | Default |
|---|---|---|
| $nrequired | int |
no default value |
Return types
mixedornull
Returns the nth element from the collection
$lazyCollection->nth(int $n): mixed|null
| Name | Type | Default |
|---|---|---|
| $nrequired | int |
no default value |
mixedornull