* Converts the UUID to string representation in format 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX' * @this {!UUID} * @returns {string} Result string
()
| 196 | * @returns {string} Result string |
| 197 | */ |
| 198 | toString () { |
| 199 | let result = '' |
| 200 | for (let i = 0; i < this.data.length; i++) { |
| 201 | result += (this.data[i] >>> 4).toString(16) |
| 202 | result += (this.data[i] & 0xF).toString(16) |
| 203 | if ((i === 3) || (i === 5) || (i === 7) || (i === 9)) { |
| 204 | result += '-' |
| 205 | } |
| 206 | } |
| 207 | return result |
| 208 | } |
| 209 | |
| 210 | /** |
| 211 | * Is this value equal to other one? |
no outgoing calls
no test coverage detected