List::equal Method [AX 2012]

Determines whether two lists are identical.

client server public static boolean equal(List list1, List list2)

Run On

Called

Parameters

list1
Type: List Class
The first list to be compared.
list2
Type: List Class
The second list to be compared.

Return Value

Type: boolean
true if the two lists are identical; otherwise, false.

A list is equal to another list if the two lists are the same type, contain the same number of elements, and the elements occur in the same order.

Show: