src/util/methodDataUtil.js
function isCollectionMethod(version, method) {
    return methodSupportsShorthand(version, method) || _.includes(expandAliases(version, ['reduce', 'reduceRight']), method)
}
function isCollectionMethod(version, method) {
    return methodSupportsShorthand(version, method) || _.includes(expandAliases(version, ['reduce', 'reduceRight']), method)
}
function isCollectionMethod ( version , method ) { return methodSupportsShorthand ( version , method ) || _ . includes ( expandAliases ( version , [ 'reduce' , 'reduceRight' ] ) , method ) }
Gets whether the method is a collection method
@param {Number} version
@param {string} method
@returns {Boolean}
Gets whether the method is a collection method