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

Method has

src/fl/remote/rpc/rpc.h:286–288  ·  view source on GitHub ↗

Check if a method is registered (regardless of signature).

Source from the content-addressed store, hash-verified

284
285 /// Check if a method is registered (regardless of signature).
286 bool has(const char* name) const {
287 return mRegistry.find(fl::string(name)) != mRegistry.end();
288 }
289
290 /// Unbind (unregister) a previously registered method.
291 /// Returns true if method was found and removed, false otherwise.

Callers

nothing calls this directly

Calls 3

stringClass · 0.50
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected