! @brief return whether value is a boolean This function returns true if and only if the JSON value is a boolean. @return `true` if type is boolean, `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws exceptions. @liveexample{The following code exemplifies `is_boolean()` for all JSON types.,is_boolean}
| 18995 | @since version 1.0.0 |
| 18996 | */ |
| 18997 | constexpr bool is_boolean() const noexcept |
| 18998 | { |
| 18999 | return m_type == value_t::boolean; |
| 19000 | } |
| 19001 | |
| 19002 | /*! |
| 19003 | @brief return whether value is a number |
no outgoing calls
no test coverage detected