! @brief return whether value is a string This function returns true if and only if the JSON value is a string. @return `true` if type is string, `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws exceptions. @liveexample{The following code exemplifies `is_string()` for all JSON types.,is_string}
| 16892 | @since version 1.0.0 |
| 16893 | */ |
| 16894 | constexpr bool is_string() const noexcept |
| 16895 | { |
| 16896 | return m_type == value_t::string; |
| 16897 | } |
| 16898 | |
| 16899 | /*! |
| 16900 | @brief return whether value is discarded |
no outgoing calls
no test coverage detected