OpenBIMRL | List functions
Class path: collection.list.groupBy
Grouping according to
Description
Groups a list by key values from a second list.
Input
Input | Name | Type | Description |
---|---|---|---|
0 | List | List<Object> | List of values to be grouped |
1 | Reference list | List<Object> | List of key values |
Output
Output | Name | Type | Description |
---|---|---|---|
0 | Keys | List<Object> | Keys |
1 | Values | List<Object> | Values |
Use/Example
Sample file
Download of a sample file so that the user can test the usage himself