(str: string)
| 200 | } |
| 201 | |
| 202 | capitalize(str: string) { |
| 203 | if (typeof str !== "string" || str.length === 0) { |
| 204 | return str; // If not a string or empty, return the original value |
| 205 | } |
| 206 | return str.charAt(0).toUpperCase() + str.slice(1); |
| 207 | } |
| 208 | |
| 209 | private decodeRepFirstLowerSpecial(data: Uint8Array) { |
| 210 | const str = this.decodeLowerSpecial(data); |
no test coverage detected