@brief return whether type is primitive @sa https://json.nlohmann.me/api/basic_json/is_primitive/
| 20601 | /// @brief return whether type is primitive |
| 20602 | /// @sa https://json.nlohmann.me/api/basic_json/is_primitive/ |
| 20603 | constexpr bool is_primitive() const noexcept |
| 20604 | { |
| 20605 | return is_null() || is_string() || is_boolean() || is_number() || is_binary(); |
| 20606 | } |
| 20607 | |
| 20608 | /// @brief return whether type is structured |
| 20609 | /// @sa https://json.nlohmann.me/api/basic_json/is_structured/ |
nothing calls this directly
no test coverage detected