lib/accumulator.js
function $min(params) {
    if (Array.isArray(params) && params.every(p => typeof p === 'number')) {
        return Math.min(...params);
    }
    throw new Error('$min expects an array of number');
}
function $min(params) {
    if (Array.isArray(params) && params.every(p => typeof p === 'number')) {
        return Math.min(...params);
    }
    throw new Error('$min expects an array of number');
}
function $min ( params ) { if ( Array . isArray ( params ) && params . every ( p => typeof p === 'number' ) ) { return Math . min ( ... params ) ; } throw new Error ( '$min expects an array of number' ) ; }
Return the min number in the array

@param {number[]} params
@returns {number}
Return the min number in the array