Method
Equals
func Equals(left: string, right: string) -> bool
Declaring type: StringComparer
Module: System
Assembly: System.Runtime.dll
Source file: StringComparer.rvn
Implements EqualityComparer<String>.Equals
Tests string equality under the selected policy.
Parameters
| Name | Type | Description |
|---|---|---|
left |
String | The first non-null string. |
right |
String | The second non-null string. |
Return value
True when Compare returns zero; equal strings receive equal hashes under this policy.