Operatorswift 6.0.3FoundationEssentials
==(_:_:)
- iOS
- 16+
- macOS
- 13+
- tvOS
- 16+
- watchOS
- 9+
static func == (lhs: Locale.Subdivision, rhs: Locale.Subdivision) -> Bool
static func == (lhs: Locale.Subdivision, rhs: Locale.Subdivision) -> Bool
s20FoundationEssentials6LocaleV11SubdivisionV2eeoiySbAE_AEtFZ
What are these?1F789
import FoundationEssentials
struct Subdivision
struct Locale
Locale
encapsulates information about linguistic, cultural, and technological conventions and standards. Examples of information encapsulated by a locale include the symbol used for the decimal separator in numbers and the way dates are formatted.
@frozen struct Bool
A value type whose instances are either true
or false
.
init(_ identifier: String)
Creates a subdivision with the given identifier
init(from decoder: any Decoder) throws
init(stringLiteral value: String)
static let cldrKeywordKey: ICUCLDRKey
static let legacyKeywordKey: ICULegacyKey
static func subdivision(for region: Locale.Region) -> Locale.Subdivision
Returns the subdivision representing the given region as a whole. For example, returns a subdivision with the “uszzzz” identifier for the entire US region
var debugDescription: String { get }
var identifier: String { get set }
func encode(to encoder: any Encoder) throws
func hash(into hasher: inout Hasher)