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

Function isCompareOp

python/text_generator.py:197–210  ·  view source on GitHub ↗
(stringOp)

Source from the content-addressed store, hash-verified

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

Callers 1

parseExpressionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected