Checks if this is an @ref array or an @ref object. This function returns `true` if @ref kind() is either `kind::object` or `kind::array`. @par Complexity Constant. @par Exception Safety No-throw guarantee. */
| 1328 | No-throw guarantee. |
| 1329 | */ |
| 1330 | bool |
| 1331 | is_structured() const noexcept |
| 1332 | { |
| 1333 | // VFALCO Could use bit 0x20 for this |
| 1334 | return |
| 1335 | kind() == json::kind::object || |
| 1336 | kind() == json::kind::array; |
| 1337 | } |
| 1338 | |
| 1339 | /** Check if this is not an @ref array or @ref object. |
| 1340 |