Your IP : 216.73.216.74


Current Path : /usr/local/lib/node_modules/@google/gemini-cli/node_modules/es-toolkit/dist/compat/math/
Upload File :
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 };