The name of 'list' has been changed to 'array'; from now on, 'list' will refer to the linked list.
This commit is contained in:
+2
-2
@@ -24,8 +24,8 @@ func Equal(value1, value2 any) (equal bool) {
|
||||
} else if boolean.IsBool(value1) && boolean.IsBool(value2) {
|
||||
equal = value1.(bool) == value2.(bool)
|
||||
} else if array.IsList(value1) && array.IsList(value2) {
|
||||
ls1 := value1.(*array.ListType)
|
||||
ls2 := value2.(*array.ListType)
|
||||
ls1 := value1.(*array.ArrayType)
|
||||
ls2 := value2.(*array.ArrayType)
|
||||
equal = ls1.Equals(*ls2)
|
||||
} else if dict.IsDict(value1) && dict.IsDict(value2) {
|
||||
d1 := value1.(*dict.DictType)
|
||||
|
||||
Reference in New Issue
Block a user