JanetDocsPlaygroundI'm feeling luckyGitHub sign in

group-by



    function
    boot.janet on line 1463, column 1

    (group-by f ind)

    Group elements of `ind` by a function `f` and put the results into 
    a table. The keys of the table are the distinct return values of 
    `f`, and the values are arrays of all elements of `ind` that are 
    equal to that value.


0 examplesSign in to add an example
Loading...