identifier(_:from:)
Returns the identifier conforming to the specified standard for the specified string.
Declaration
static func identifier(_ type: Locale.IdentifierType, from string: String) -> StringParameters
Return Value
A locale identifier.
Returns the identifier conforming to the specified standard for the specified string.
static func identifier(_ type: Locale.IdentifierType, from string: String) -> StringA locale identifier.