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

Method valueObjectToDouble

valdi/src/valdi/android/JavaValueDelegate.cpp:319–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317
318double JavaValueDelegate::valueToDouble(const JavaValue& value, Valdi::ExceptionTracker& exceptionTracker) const {
319 return value.getDouble();
320}
321
322bool JavaValueDelegate::valueToBool(const JavaValue& value, Valdi::ExceptionTracker& exceptionTracker) const {
323 return value.getBoolean() != 0u;
324}

Callers 1

marshallMethod · 0.45

Calls 2

javaValueToObjectFunction · 0.85
callMethod · 0.65

Tested by

no test coverage detected