Function min

  • Parameters

    • array: readonly [number, number]

    Returns number

    Min gets the smallest value from a list

    min([1, 2, 3, 4]) == 1
    
  • Parameters

    • array: readonly number[]

    Returns null | number

    Min gets the smallest value from a list

    min([1, 2, 3, 4]) == 1