src/operator/group-by-function.js
function min (arr) {
    if (isArray(arr) && !(arr[0] instanceof Array)) {
        // Filter out undefined, null and NaN values
        const filteredValues = getFilteredValues(arr);

        return (filteredValues.length) ? Math.min(...filteredValues) : InvalidAwareTypes.NULL;
    }
    return InvalidAwareTypes.NULL;
}
function min (arr) {
    if (isArray(arr) && !(arr[0] instanceof Array)) {
        // Filter out undefined, null and NaN values
        const filteredValues = getFilteredValues(arr);

        return (filteredValues.length) ? Math.min(...filteredValues) : InvalidAwareTypes.NULL;
    }
    return InvalidAwareTypes.NULL;
}
function min ( arr ) { if ( isArray ( arr ) && ! ( arr [ 0 ] instanceof Array ) ) { // Filter out undefined, null and NaN values const filteredValues = getFilteredValues ( arr ) ; return ( filteredValues . length ) ? Math . min ( ... filteredValues ) : InvalidAwareTypes . NULL ; } return InvalidAwareTypes . NULL ; }
Reducer function that gives the min value amongst all the values.

@public
@param  {Array.<number>} arr - The input array.
@return {number} Returns the minimum value of the array.
Reducer function that gives the min value amongst all the values .