/** * Produce an object of arrays containing the collection's contents, keyed according to the predicate. * * @param {Collection} collection * @param {Predicate} predicate * * @returns {Object} */ export default function groupBy(collection: Collection, predicate: Predicate): any;