! @brief return whether value is an array This function returns true if and only if the JSON value is an array. @return `true` if type is array, `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws exceptions. @liveexample{The following code exemplifies `is_array()` for all JSON types.,is_array} @s
| 14531 | @since version 1.0.0 |
| 14532 | */ |
| 14533 | constexpr bool is_array() const noexcept |
| 14534 | { |
| 14535 | return (m_type == value_t::array); |
| 14536 | } |
| 14537 | |
| 14538 | /*! |
| 14539 | @brief return whether value is a string |
no outgoing calls
no test coverage detected