MCPcopy Create free account
hub / github.com/FastLED/FastLED / is_number

Method is_number

src/fl/stl/json.h:246–246  ·  view source on GitHub ↗

is_number() returns true if the value is any numeric type (int or float)

Source from the content-addressed store, hash-verified

244 bool is_double() const FL_NOEXCEPT { return mValue && mValue->is_double(); }
245 // is_number() returns true if the value is any numeric type (int or float)
246 bool is_number() const FL_NOEXCEPT { return mValue && mValue->is_number(); }
247 bool is_string() const FL_NOEXCEPT { return mValue && mValue->is_string(); }
248 bool is_array() const FL_NOEXCEPT { return mValue && mValue->is_array(); }
249 bool is_generic_array() const FL_NOEXCEPT { return mValue && mValue->is_generic_array(); }

Callers 1

FL_TEST_FILEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected