@yookue/ts-lang-utils
    Preparing search index...

    Function max

    • Returns the max value of the given array

      Parameters

      • Optionalvalues: number[]

        the array to calculate

      Returns undefined | number

      the max value of the given array

      David Hsing

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