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

Method has

src/fl/math/xymap.h:102–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 }
101
102 bool has(u16 x, u16 y) const FL_NOEXCEPT {
103 return (x < width) && (y < height);
104 }
105
106 bool has(int x, int y) const FL_NOEXCEPT {
107 return (x >= 0) && (y >= 0) && has((u16)x, (u16)y);

Callers

nothing calls this directly

Calls 1

hasFunction · 0.85

Tested by

no test coverage detected