* @brief Check string, array or object is empty. * @retval true is empty * @retval false is not empty * @note The type of this node must be string, array or object. */
| 564 | * @note The type of this node must be string, array or object. |
| 565 | */ |
| 566 | bool Empty() const noexcept { |
| 567 | sonic_assert(this->IsContainer() || this->IsString()); |
| 568 | return 0 == Size(); |
| 569 | } |
| 570 | |
| 571 | /** |
| 572 | * @brief make this array or object empty |
nothing calls this directly
no test coverage detected