return whether type is primitive

Synopsis

Declared in <nlohmann/json.hpp>

constexpr
bool
is_primitive() const noexcept;

Return Value

true if the value is null, string, boolean, a number, or binary; false otherwise

Created with MrDocs