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

Method getOrUndefined

valdi_core/src/valdi_core/cpp/Utils/Marshaller.cpp:215–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215Value Marshaller::getOrUndefined(int index) {
216 return getOrUndefinedAsRef(index);
217}
218
219void Marshaller::onPromiseComplete(int index, const Ref<ValueFunction>& callback) {
220 auto promise = getOrUndefinedAsRef(index).checkedToValdiObject<Promise>(_exceptionTracker);

Callers 13

operator()Method · 0.80
TESTFunction · 0.80
loadModuleContentMethod · 0.80
nativeGetTypeFunction · 0.80
nativeGetBooleanFunction · 0.80
nativeGetDoubleFunction · 0.80
nativeGetLongFunction · 0.80
getBytesContentMethod · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64