Open ainokila opened 5 years ago
@ainokila I think this a bit off the way "in" is designed to work. Think about this as: "n in m", where m must be always an iterable and n is user data
what you suggest is: "n contains m"?
Im also not sure how [99, 100, 101] in 110 might produce True as output ?
It would be a good improvement, to contemplate the in operation to work with lists and tuples.
Example:
https://github.com/nadirizr/json-logic-py/pull/13