MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / parse_bool_value

Function parse_bool_value

common/arg.cpp:413–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413static bool parse_bool_value(const std::string & value) {
414 if (is_truthy(value)) {
415 return true;
416 } else if (is_falsey(value)) {
417 return false;
418 } else {
419 throw std::invalid_argument("invalid boolean value");
420 }
421}
422
423//
424// CLI argument parsing functions

Callers 1

common_params_parse_exFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected