UNPKG

hd-utils

Version:

A handy utils for modern JS developers

6 lines (5 loc) 217 B
/** * @description The sum function takes a variable number of arguments, and returns the sum of all the arguments. * @param {number[]} args - number[] */ export default function getSum(...args: number[]): number;