| Current Path : /usr/local/lib/node_modules/@google/gemini-cli/node_modules/es-toolkit/dist/compat/math/ |
| Current File : //usr/local/lib/node_modules/@google/gemini-cli/node_modules/es-toolkit/dist/compat/math/meanBy.mjs |
import { identity } from '../../function/identity.mjs';
import { meanBy as meanBy$1 } from '../../math/meanBy.mjs';
import { iteratee } from '../util/iteratee.mjs';
function meanBy(items, iteratee$1) {
if (items == null) {
return NaN;
}
return meanBy$1(Array.from(items), iteratee(iteratee$1 ?? identity));
}
export { meanBy };