From 01a72aa6c4e4c1150e270e54fb85e1d02a84c1e1 Mon Sep 17 00:00:00 2001 From: Niels Date: Sat, 11 Apr 2015 18:37:19 +0200 Subject: [PATCH] Created nlohmann::basicjson::is_array (markdown) --- nlohmann::basicjson::is_array.md | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 nlohmann::basicjson::is_array.md diff --git a/nlohmann::basicjson::is_array.md b/nlohmann::basicjson::is_array.md new file mode 100644 index 0000000..f8143b4 --- /dev/null +++ b/nlohmann::basicjson::is_array.md @@ -0,0 +1,36 @@ +```cpp +bool is_array() const; +``` + +## Description + +Returns whether JSON container has type array. + +## Parameters + +None. + +## Return value + +`true` of value type is array, `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_number**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_number)
+ whether value is number +- [**is_object**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_object)
+ whether value is object +- [**is_string**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_string)
+ whether value is string