Returns array with duplicate elements removed

  • Type Parameters

    • T

    Parameters

    • xs: T[]

      Array with possible duplicates

    Returns T[]

    Array with unique elements