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

Method StrLe

library/cpp/expression/expression_variable.cpp:168–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 return StringValue.StartsWith(secondOperand.StringValue) ? 1.0 : 0.0;
167}
168double TExpressionVariable::StrLe(const TExpressionVariable& secondOperand) const {
169 return StringValue <= secondOperand.StringValue ? 1.0 : 0.0;
170}
171double TExpressionVariable::StrL(const TExpressionVariable& secondOperand) const {
172 return StringValue < secondOperand.StringValue ? 1.0 : 0.0;
173}

Callers 2

CalcVariantExpressionMethod · 0.80
Y_UNIT_TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected