! @brief return whether value is a number This function returns true if and only if the JSON value is a number. This includes both integer (signed and unsigned) and floating-point values. @return `true` if type is number (regardless whether integer, unsigned integer or floating-type), `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this
| 2601 | @since version 1.0.0 |
| 2602 | */ |
| 2603 | constexpr bool is_number() const noexcept |
| 2604 | { |
| 2605 | return is_number_integer() || is_number_float(); |
| 2606 | } |
| 2607 | |
| 2608 | /*! |
| 2609 | @brief return whether value is an integer number |
no test coverage detected