Is Equal

List
Both Server and Client
Both Mobile and PC

Compares whether the elements of two lists are exactly the same. The list capacity does not affect the comparison result.

Declaration

func IsEqual(leftValue List<object>, rightValue List<object>) bool
go

Parameters

Input

Name Type Description
Left Value List List lvalue to compare
Right Value List List rvalue to compare

Return

Type Description
Bool Comparison result, return True if the contents are the same, and return False if the contents are different