“Collection” Methods
- _.countBy(collection, [iteratee=_.identity])
- _.every(collection, [predicate=_.identity])
- _.filter(collection, [predicate=_.identity])
- _.find
- _.findLast
- _.flatMap(collection, [iteratee=_.identity])
- _.flatMapDeep(collection, [iteratee=_.identity])
- _.flatMapDepth
- _.forEach(collection, [iteratee=_.identity])
- _.forEachRight(collection, [iteratee=_.identity])
- _.groupBy(collection, [iteratee=_.identity])
- _.includes(collection, value, [fromIndex=0])
- _.invokeMap(collection, path, [args])
- _.keyBy(collection, [iteratee=_.identity])
- _.map(collection, [iteratee=_.identity])
- _.orderBy
- _.partition(collection, [predicate=_.identity])
- _.reduce
- _.reduceRight
- _.reject(collection, [predicate=_.identity])
- _.sample(collection)
- _.sampleSize(collection, [n=1])
- _.shuffle(collection)
- _.size(collection)
- _.some(collection, [predicate=_.identity])
- _.sortBy(collection, [iteratees=[_.identity]])
当前内容版权归 lodash.com 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 lodash.com .