ListValue.compare method
ListValue › compare
Unofficial
Compares this list to another element-wise using the provided comparator.Signature:
compare(other: ListValue, comparator: (a: Value, b: Value) => boolean): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| other | ListValue | The list to compare to. |
| comparator | (a: Value, b: Value) => boolean | Returns whether two elements are considered equal. |
Returns: boolean — Whether the lists are equal.