-
-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method reduce
with key/index
#311
Comments
Hi. |
https://runkit.com/embed/t67a6zx0ng4g Notice how the Object logs the keys, but the Array does not. |
Can you please check my PR, it says it failed but I can't see the error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently it is not possible to access the Key/Index of the item while using
reduce()
https://laravel.com/docs/9.x/collections#method-reduce
The text was updated successfully, but these errors were encountered: