MCPcopy Create free account
hub / github.com/VCVRack/Rack / isFavorite

Method isFavorite

src/plugin/Model.cpp:214–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212
213
214bool Model::isFavorite() {
215 const settings::ModuleInfo* mi = settings::getModuleInfo(plugin->slug, slug);
216 return mi && mi->favorite;
217}
218
219
220void Model::setFavorite(bool favorite) {

Callers 1

onButtonMethod · 0.80

Calls 1

getModuleInfoFunction · 0.85

Tested by

no test coverage detected