We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
it('should allow groupBy multiple key', function() { var arrays = [ { key1: 1, key2: 1, data: {} }, { key1: 1, key2: 1, data: {} }, { key1: 1, key2: 2, data: {} }, { key1: 1, key2: 2, data: {} }, { key1: 2, key2: 3, data: {} }, { key1: 2, key2: 3, data: {} }, { key1: 2, key2: 4, data: {} }, { key1: 2, key2: 4, data: {} } ]; expect(filter(arrays, ['key1', 'key2'])).toEqual({ '1,1': [arrays[0], arrays[1]], '1,2': [arrays[2], arrays[3]], '2,3': [arrays[4], arrays[5]], '2,4': [arrays[6], arrays[7]] }); });
should allow to group by multiple key instead of only 1 key
The text was updated successfully, but these errors were encountered:
Great addition. Please include this feature!
Sorry, something went wrong.
No branches or pull requests
should allow to group by multiple key instead of only 1 key
The text was updated successfully, but these errors were encountered: