Filter an array by removing duplicates and keeping the left most occurrence. By default this compares by identity.
A filtered array containing no duplicates.
Array to remove duplicates from.
Optional comparator function, indicating whether two items are equal and therefore handled as duplicates. Defaults to identity.
Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.
Filter an array by removing duplicates and keeping the left most occurrence. By default this compares by identity.
Returns
A filtered array containing no duplicates.