ichigyou
    Preparing search index...

    Function hasUniqueValues

    • Checks if an array has unique values.

      Type Parameters

      • T

      Parameters

      • arr: T[]

        The array to be checked.

      Returns boolean

      True if all values in the array are unique, false otherwise.