MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / has

Method has

libraries/Set/Set.cpp:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68bool Set::has(const uint8_t value)
69{
70 uint8_t idx = value / 8;
71 return (_mem[idx] & _masks[value & 7]) > 0;
72}
73
74
75uint16_t Set::count() const

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64