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.
Returns
A boolean, indicating all the items equal to each other.
Type Parameters
T
Parameters
item1: T
The first item.
item2: T
The second item.
Returns boolean
Settings
Member Visibility
Theme
Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.
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.
Returns
A boolean, indicating all the items equal to each other.