* Is this value equal to other one? * @this {UUID} * @param {UUID} other Other value * @returns {boolean} Equal result
(other)
| 214 | * @returns {boolean} Equal result |
| 215 | */ |
| 216 | eq (other) { |
| 217 | if (!UUID.isUUID(other)) { |
| 218 | return false |
| 219 | } |
| 220 | for (let i = 0; i < this.data.length; i++) { |
| 221 | if (this.data[i] !== other.data[i]) { |
| 222 | return false |
| 223 | } |
| 224 | } |
| 225 | return true |
| 226 | } |
| 227 | |
| 228 | /** |
| 229 | * Is this value not equal to other one? |
no test coverage detected