return whether value is a boolean

Synopsis

Declared in <nlohmann/json.hpp>

constexpr
bool
is_boolean() const noexcept;

Return Value

true if the value is a boolean; false otherwise

Created with MrDocs