! @brief return whether value is a binary array This function returns true if and only if the JSON value is a binary array. @return `true` if type is binary array, `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws exceptions. @liveexample{The following code exemplifies `is_binary()` for all JSON type
| 2774 | @since version 3.8.0 |
| 2775 | */ |
| 2776 | constexpr bool is_binary() const noexcept |
| 2777 | { |
| 2778 | return m_type == value_t::binary; |
| 2779 | } |
| 2780 | |
| 2781 | /*! |
| 2782 | @brief return whether value is discarded |
no outgoing calls
no test coverage detected