Function minMax

  • Parameters

    • arr: number[] | ArrayLike<number>

    Returns [number, number] | undefined

    number[] the minimum and maximum of the array, or undefined if the array is empty.

Generated using TypeDoc