• Returns the min value of the given array

    Parameters

    • Optionalvalues: number[]

      the array to calculate

    Returns number | undefined

    the min value of the given array

    min([1, 2, 3]);    // 1