identifier(_:)
Returns the ISO code of the given identifier type. Returns nil if the language isn’t a valid ISO language, or if the specified identifier type isn’t available to the language.
Declaration
func identifier(_ type: Locale.LanguageCode.IdentifierType) -> String?