| 293 | } |
| 294 | |
| 295 | Value Array::Join(const Value& separator) const |
| 296 | { |
| 297 | Value result; |
| 298 | bool first = true; |
| 299 | |
| 300 | ObjectLock olock(this); |
| 301 | |
| 302 | for (const Value& item : m_Data) { |
| 303 | if (first) { |
| 304 | first = false; |
| 305 | } else { |
| 306 | result = result + separator; |
| 307 | } |
| 308 | |
| 309 | result = result + item; |
| 310 | } |
| 311 | |
| 312 | return result; |
| 313 | } |
| 314 | |
| 315 | Array::Ptr Array::Unique() const |
| 316 | { |
no outgoing calls
no test coverage detected