Skip to content
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

The groupBy() method #15

Merged
merged 2 commits into from
Jul 11, 2024
Merged

The groupBy() method #15

merged 2 commits into from
Jul 11, 2024

Conversation

roberto-butti
Copy link
Contributor

Groups the elements of the Block object by a specified field.

This method takes a field name as an argument and groups the elements of the Block object based on the values of that field. Each element is grouped into an associative array where the keys are the values of the specified field and the values are arrays of elements that share that key.

@roberto-butti roberto-butti merged commit 704882c into main Jul 11, 2024
11 checks passed
@roberto-butti roberto-butti deleted the feat/group-by branch July 11, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant