MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / is_structured

Function is_structured

lesson6-Segmentation/json.hpp:18870–18873  ·  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

18868 @since version 1.0.0
18869 */
18870 constexpr bool is_structured() const noexcept
18871 {
18872 return is_array() || is_object();
18873 }
18874
18875 /*!
18876 @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