collationIdentifier

Returns the collation identifier for the locale, or nil if it has none.

iOS
deprecated
macOS
deprecated
tvOS
deprecated
watchOS
deprecated
var collationIdentifier: String? { get }

For example, for the locale “en_US@collation=phonebook”, returns “phonebook”.