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

Method getFloat

valdi/test/runtime/Tweaks_tests.cpp:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 }
26
27 float getFloat(const StringBox& key, float fallback) override {
28 return config.getMapValue(key).toFloat();
29 }
30
31 int32_t getInt(const StringBox& key, int32_t fallback) override {
32 return config.getMapValue(key).toInt();

Callers

nothing calls this directly

Calls 2

toFloatMethod · 0.80
getMapValueMethod · 0.80

Tested by

no test coverage detected