MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / is_primitive

Function is_primitive

third-party/nlohmann/include/nlohmann/json.hpp:1293–1296  ·  view source on GitHub ↗

@brief return whether type is primitive @sa https://json.nlohmann.me/api/basic_json/is_primitive/

Source from the content-addressed store, hash-verified

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/

Callers

nothing calls this directly

Calls 5

is_nullFunction · 0.85
is_stringFunction · 0.85
is_booleanFunction · 0.85
is_numberFunction · 0.85
is_binaryFunction · 0.85

Tested by

no test coverage detected