@alextheman/utility - v4.3.5
    Preparing search index...

    Function isOrdered

    • Checks to see if the given array is sorted in ascending order.

      Parameters

      • array: readonly number[]

        The array to check.

      Returns boolean

      true if the array is sorted in ascending order, and false otherwise.