new DefaultComparer()
- Source:
Methods
compare(x, y) → {Number}
Uses the instance of the EqualityComparer to determine whether two
items are considered to be equal.
Parameters:
Name | Type | Description |
---|---|---|
x |
T | |
y |
T |
- Source:
Returns:
Returns either -1, 0 or 1.
- Type
- Number