Chalkboard - v3.0.1
    Preparing search index...

    Function cummax

    • Calculates the cumulative maximum of an array.

      Parameters

      • arr: number[]

        The array

      Returns number[]