klyn.i18n.Locale.operator==
method
public operator==(other as Locale) as Boolean
Description

Compares normalized language and country codes, not formatting data.

Parameters
ParameterDescription
otherLocale to compare; null is never equal to a Locale.
Returns

True when both normalized codes match.

Example

assert Locale("EN", "us") == Locale.US