@brief return whether type is primitive @sa https://json.nlohmann.me/api/basic_json/is_primitive/
| 1291 | /// @brief return whether type is primitive |
| 1292 | /// @sa https://json.nlohmann.me/api/basic_json/is_primitive/ |
| 1293 | constexpr bool is_primitive() const noexcept |
| 1294 | { |
| 1295 | return is_null() || is_string() || is_boolean() || is_number() || is_binary(); |
| 1296 | } |
| 1297 | |
| 1298 | /// @brief return whether type is structured |
| 1299 | /// @sa https://json.nlohmann.me/api/basic_json/is_structured/ |
nothing calls this directly
no test coverage detected