Function unique

  • Return a new unique version of the collection

    Parameters

    • input: unknown[]

      The input collection

    • hashFunction: HashFunction = DEFAULT_HASH_FUNCTION

    Returns Any[]