MCPcopy Create free account
hub / github.com/FastLED/FastLED / operator!=

Method operator!=

src/platforms/shared/ui/json/number_field.cpp.hpp:129–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127bool JsonNumberFieldImpl::operator==(int v) const FL_NOEXCEPT { return fl::almost_equal(value(), static_cast<float>(v)); }
128
129bool JsonNumberFieldImpl::operator!=(float v) const FL_NOEXCEPT { return !fl::almost_equal(value(), v); }
130
131bool JsonNumberFieldImpl::operator!=(int v) const FL_NOEXCEPT { return !fl::almost_equal(value(), static_cast<float>(v)); }
132

Callers

nothing calls this directly

Calls 2

almost_equalFunction · 0.85
valueFunction · 0.50

Tested by

no test coverage detected