MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / is_structured

Function is_structured

native/thirdpart/json/json.hpp:16669–16672  ·  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

16667 @since version 1.0.0
16668 */
16669 constexpr bool is_structured() const noexcept
16670 {
16671 return is_array() or is_object();
16672 }
16673
16674 /*!
16675 @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