tahamajs's picture
download
raw
331 Bytes
import group from './_group.js';
import has from './_has.js';
// Groups the object's values by a criterion. Pass either a string attribute
// to group by, or a function that returns the criterion.
export default group(function(result, value, key) {
if (has(result, key)) result[key].push(value); else result[key] = [value];
});

Xet Storage Details

Size:
331 Bytes
·
Xet hash:
b7d2ce604a28d2fa3262f4e51899e2ee7aae46cf773ef3f700e112425aec2c0b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.