! @brief return whether type is structured This function returns true if and only if the JSON type is structured (array or object). @return `true` if type is structured (array or object), `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws exceptions. @liveexample{The following code exemplifies `is_str
| 2527 | @since version 1.0.0 |
| 2528 | */ |
| 2529 | constexpr bool is_structured() const noexcept |
| 2530 | { |
| 2531 | return is_array() || is_object(); |
| 2532 | } |
| 2533 | |
| 2534 | /*! |
| 2535 | @brief return whether value is null |