public operator==(other as Locale) as Boolean
Compares normalized language and country codes, not formatting data.
| Parameter | Description |
|---|---|
other | Locale to compare; null is never equal to a Locale. |
True when both normalized codes match.
assert Locale("EN", "us") == Locale.US