MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / is_structured

Function is_structured

Source/Utils/json.hpp:18869–18872  ·  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 fo

Source from the content-addressed store, hash-verified

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