MCPcopy Create free account
hub / github.com/PeterFWS/Structure-PLP-SLAM / is_structured

Function is_structured

3rd/json/include/nlohmann/json.hpp:14843–14846  ·  view source on GitHub ↗

! @brief return whether type is structured This function returns true if and only if the JSON type is structured (array or object). @return `true` if type is structured (array or object), `false` otherwise. @complexity Constant. @exceptionsafety No-throw guarantee: this member function never throws exceptions. @liveexample{The following code exemplifies `is_str

Source from the content-addressed store, hash-verified

14841 @since version 1.0.0
14842 */
14843 constexpr bool is_structured() const noexcept
14844 {
14845 return is_array() or is_object();
14846 }
14847
14848 /*!
14849 @brief return whether value is null

Callers

nothing calls this directly

Calls 2

is_arrayFunction · 0.85
is_objectFunction · 0.85

Tested by

no test coverage detected