MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getStaticString

Method getStaticString

valdi_core/src/valdi_core/cpp/Utils/Value.cpp:393–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393const StaticString* Value::getStaticString() const noexcept {
394 if (getType() == ValueType::StaticString) {
395 return toPointer<StaticString>();
396 }
397
398 return nullptr;
399}
400
401Error Value::getError() const noexcept {
402 if (isError()) {

Callers 9

unmarshallMethod · 0.45
operator==Method · 0.45
operator<Method · 0.45
writeValueToJSONWriterFunction · 0.45
toJavaObjectFunction · 0.45
nativeGetStringFunction · 0.45
valueToJSValueFunction · 0.45
decodeNativeBitmapMethod · 0.45
toCppMethod · 0.45

Calls 1

getTypeFunction · 0.85

Tested by

no test coverage detected