UNPKG

hd-utils

Version:

A handy utils for modern JS developers

7 lines (6 loc) 291 B
/** * @description The function takes a variable number of arguments, and returns the average of those arguments * @param {number[]} args - number[] * @returns The sum of the arguments divided by the number of arguments. */ export default function getAverage(...args: number[]): number;