UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

12 lines (11 loc) 490 B
export default baseOrderBy; /** * The base implementation of `orderBy` without param guards. * * @private * @param {Array|Object} collection The collection to iterate over. * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by. * @param {string[]} orders The sort orders of `iteratees`. * @returns {Array} Returns the new sorted array. */ declare function baseOrderBy(collection: any[] | any, iteratees: Function[] | any[] | string[], orders: string[]): any[];