MCPcopy Create free account
hub / github.com/catboost/catboost / CharIs

Method CharIs

library/cpp/getopt/small/last_getopt_opt.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 }
21
22 bool TOpt::CharIs(char c) const {
23 for (auto next : Chars_) {
24 if (next == c)
25 return true;
26 }
27 return false;
28 }
29
30 char TOpt::GetChar() const {
31 if (Chars_.empty())

Callers 3

TOptsClass · 0.80
ValidateMethod · 0.80
AcceptOptionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected