Method
Equals
func Equals(left: T, right: T) -> bool
Declaring type: FunctionEqualityComparer<T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: FunctionEqualityComparer.rvn
Implements EqualityComparer<T>.Equals
Tests equality under this policy.
Parameters
| Name | Type | Description |
|---|---|---|
left |
T | The first value. |
right |
T | The second value. |
Return value
True for equivalent values.
Remarks
Equality must be reflexive, symmetric and transitive. Equal values must have equal hashes.