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

Method GetBooleanValue

library/cpp/yson/token.cpp:183–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 bool TToken::GetBooleanValue() const {
184 CheckType(ETokenType::Boolean);
185 return BooleanValue;
186 }
187
188 void TToken::CheckType(ETokenType expectedType) const {
189 if (Type_ != expectedType) {

Callers 1

ToStringFunction · 0.80

Calls 1

CheckTypeClass · 0.50

Tested by

no test coverage detected