| Parameter | Description |
|---|---|
| a | The first identifier to compare. |
| b | The second identifier to compare. |
bool
true if both identifiers have the same culture code, ignoring case; otherwise, false.
Determines whether two identifiers have the same culture code.
Equivalent to LocaleIdentifier.Equals: the comparison ignores case.
<para>Compare two identifiers with the equality operator.</para>
using Unity.Localization;
namespace Unity.Localization.Samples { public class LocaleIdentifierEqualityOperatorExample { public bool Run(LocaleIdentifier a, LocaleIdentifier b) => a == b; } }