diff --git a/nlohmann::basicjson::is_boolean.md b/nlohmann::basicjson::is_boolean.md new file mode 100644 index 0000000..134ccce --- /dev/null +++ b/nlohmann::basicjson::is_boolean.md @@ -0,0 +1,36 @@ +```cpp +bool is_boolean() const; +``` + +## Description + +Returns whether JSON container has type boolean. + +## Parameters + +None. + +## Return value + +`true` of value type is boolean, `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_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_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