! @brief return whether value is an array This function returns true iff 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} @since versio
| 2501 | @since version 1.0.0 |
| 2502 | */ |
| 2503 | constexpr bool is_array() const noexcept |
| 2504 | { |
| 2505 | return m_type == value_t::array; |
| 2506 | } |
| 2507 | |
| 2508 | /*! |
| 2509 | @brief return whether value is a string |
no outgoing calls
no test coverage detected