From fdc72caf0ece0c957e41856df1bf5dc295c323eb Mon Sep 17 00:00:00 2001 From: Niels Date: Sat, 11 Apr 2015 18:38:04 +0200 Subject: [PATCH] Created nlohmann::basicjson::is_number (markdown) --- nlohmann::basicjson::is_number.md | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 nlohmann::basicjson::is_number.md diff --git a/nlohmann::basicjson::is_number.md b/nlohmann::basicjson::is_number.md new file mode 100644 index 0000000..a0bff9e --- /dev/null +++ b/nlohmann::basicjson::is_number.md @@ -0,0 +1,36 @@ +```cpp +bool is_number() const; +``` + +## Description + +Returns whether JSON container has type number. + +## Parameters + +None. + +## Return value + +`true` of value type is number, `false` otherwise. + +## Complexity + +Constant. + +## Exceptions + +None. The function's noexcept-specification is `noexcept`. + +## See also + +- [**is_null**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_null)
+ whether value is null +- [**is_boolean**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_boolean)
+ whether value is boolean +- [**is_object**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_object)
+ whether value is object +- [**is_array**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_array)
+ whether value is array +- [**is_string**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_string)
+ whether value is string