|
JSON for Modern C++
3.0
|
|
inlinenoexcept |
This function returns true iff the JSON value is a number. This includes both integer and floating-point values.
true if value type is number, false otherwise.false false true true false false falseThe example code above can be translated with
g++ -std=c++11 -Isrc doc/examples/is_number.cpp -o is_number.