MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / IsObject

Method IsObject

include/sonic/dom/genericnode.h:255–257  ·  view source on GitHub ↗

* @brief Check this node is an object. * @return true if it is an object. */

Source from the content-addressed store, hash-verified

253 * @return true if it is an object.
254 */
255 sonic_force_inline bool IsObject() const noexcept {
256 return getBasicType() == kObject;
257 }
258
259 /**
260 * @brief Check this node is true.

Callers 15

mainFunction · 0.80
mainFunction · 0.80
TYPED_TESTFunction · 0.80
TESTFunction · 0.80
TYPED_TESTFunction · 0.80
SonicError SerializeImplFunction · 0.80
CreateMapMethod · 0.80
DestroyMapMethod · 0.80
memberBeginUnsafeMethod · 0.80
memberEndUnsafeMethod · 0.80
getObjChildrenFirstMethod · 0.80

Calls 1

getBasicTypeFunction · 0.85

Tested by 3

TYPED_TESTFunction · 0.64
TESTFunction · 0.64
TYPED_TESTFunction · 0.64