| 313 | //========================================================================== |
| 314 | |
| 315 | bool FSerializer::HasObject(const char* name) |
| 316 | { |
| 317 | if (isReading()) |
| 318 | { |
| 319 | auto val = r->FindKey(name); |
| 320 | if (val != nullptr) |
| 321 | { |
| 322 | if (val->IsObject()) |
| 323 | { |
| 324 | return true; |
| 325 | } |
| 326 | } |
| 327 | } |
| 328 | return false; |
| 329 | } |
| 330 | |
| 331 | //========================================================================== |
| 332 | // |
no test coverage detected