Contents

scriptCode

The script code of the locale, or nil if has none.

Declaration

var scriptCode: String? { get }

Discussion

For example, for the locale “zh-Hant-HK”, returns “Hant”.

See Also

Getting information about a locale