• Get the lowest value in an array of numbers.

    Parameters

    • values: number[]

      The array of numbers.

    Returns number | undefined

    Undefined if the input array is empty, otherwise the lowest value.