kotlin-stdlib / kotlin.text / HexFormat / upperCase upperCase Common JVM JS Native 1.0 val upperCase: Boolean(source) Specifies whether upper case hexadecimal digits 0-9, A-F should be used for formatting. If false, lower case hexadecimal digits 0-9, a-f will be used. Affects both ByteArray and numeric value formatting.