MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / enabled

Method enabled

src/base/program_options.cpp:171–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171bool ProgramOptions::enabled(const Option& option) const
172{
173 for (const auto& value : m_values) {
174 if (value.option() == &option)
175 return true;
176 }
177 return false;
178}
179
180std::string ProgramOptions::value_of(const Option& option) const
181{

Callers 2

TESTFunction · 0.45
runFunction · 0.45

Calls 1

optionMethod · 0.80

Tested by 1

TESTFunction · 0.36