MCPcopy Create free account
hub / github.com/SplootCode/splootcode / isCompareOp

Function isCompareOp

python/executor.py:202–215  ·  view source on GitHub ↗
(stringOp)

Source from the content-addressed store, hash-verified

200
201
202def isCompareOp(stringOp):
203 # Eq | NotEq | Lt | LtE | Gt | GtE | Is | IsNot | In | NotIn
204 return stringOp in {
205 "==",
206 "!=",
207 "<",
208 "<=",
209 ">",
210 ">=",
211 "is",
212 "is not",
213 "in",
214 "not in",
215 }
216
217
218def getAstUnaryOperator(stringOp):

Callers 1

parseExpressionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected