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

Method getInt

valdi/test/runtime/Tweaks_tests.cpp:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 return config.getMapValue(key).toFloat();
30 }
31
32 int32_t getInt(const StringBox& key, int32_t fallback) override {
33 return config.getMapValue(key).toInt();
34 }
35
36 Value getBinary(const StringBox& key, const Value& fallback) override {

Callers 1

TESTFunction · 0.45

Calls 2

getMapValueMethod · 0.80
toIntMethod · 0.45

Tested by

no test coverage detected