• Remove all duplicates from an array.

    Type Parameters

    • T

    Parameters

    • arr: T[]

      Array that might contain duplicates.

    Returns T[]

    Array of unique items.

    Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.