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

Method IsString

include/sonic/dom/genericnode.h:227–229  ·  view source on GitHub ↗

* @brief Check this node is a string. * @return true if it is a string. */

Source from the content-addressed store, hash-verified

225 * @return true if it is a string.
226 */
227 sonic_force_inline bool IsString() const noexcept {
228 return getBasicType() == kString;
229 }
230 /**
231 * @brief Check this node is a raw json.
232 * @return true if it is raw json.

Callers 8

print_memberFunction · 0.80
TYPED_TESTFunction · 0.80
AtPointerHelperFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TYPED_TESTFunction · 0.80
SizeFunction · 0.80
EmptyFunction · 0.80

Calls 1

getBasicTypeFunction · 0.85

Tested by 5

TYPED_TESTFunction · 0.64
AtPointerHelperFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TYPED_TESTFunction · 0.64