Function dedupArray

  • Deduplicates the given array

    Parameters

    • values: any[]

      An array containing duplicated elements

    Returns any[]

    The given array, but without duplicates