MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / canConvertNumber

Function canConvertNumber

src/ArduinoJson/Numbers/convertNumber.hpp:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32// uint32 -> int64
33template <typename TOut, typename TIn>
34enable_if_t<is_integral<TIn>::value && is_unsigned<TIn>::value &&
35 is_integral<TOut>::value && sizeof(TIn) < sizeof(TOut),
36 bool>
37canConvertNumber(TIn) {
38 return true;
39}
40
41// uint32 -> float
42// int32 -> float

Callers

nothing calls this directly

Calls 2

highestFunction · 0.85
lowestFunction · 0.70

Tested by

no test coverage detected