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

Method IsArray

include/sonic/dom/genericnode.h:248–250  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

246 * @return true if it is an array.
247 */
248 sonic_force_inline bool IsArray() const noexcept {
249 return getBasicType() == kArray;
250 }
251 /**
252 * @brief Check this node is an object.
253 * @return true if it is an object.

Callers 13

TYPED_TESTFunction · 0.80
TESTFunction · 0.80
TYPED_TESTFunction · 0.80
getArrChildrenFirstMethod · 0.80
DNodeClass · 0.80
eraseImplMethod · 0.80
BeginFunction · 0.80
CBeginFunction · 0.80
EndFunction · 0.80
CEndFunction · 0.80
genericnode.hFile · 0.80

Calls 1

getBasicTypeFunction · 0.85

Tested by 3

TYPED_TESTFunction · 0.64
TESTFunction · 0.64
TYPED_TESTFunction · 0.64