• Checks whether the two items contain the same content. When both of them are arrays, the elements and the order are checked, see equalArrays. When both of them are objects, the key/value pairs are checked, see equalObjects. In other cases, triple equals is used.

    Type Parameters

    • T

    Parameters

    • item1: T

      The first item.

    • item2: T

      The second item.

    Returns boolean

    A boolean, indicating all the items equal to each other.

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