You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, I 'm now sure if we should add such a feature.
Case with nil == nil is easy and trivial.
But for nil >= nil, what should we do? And nil <= nil? How it will affect sorting?
For reference: Python does not allow for >= with None:
>>> None >= None
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: '>=' not supported between instances of 'NoneType' and 'NoneType'
I agree with your point about comparing nil with nil. However, regarding comparisons between nil and specific values (like nil > 1), would it be possible for expr to support this to provide a better user experience? Thank you.
please run the example code below:
can
Expr
support>
、>=
、<
、<=
like==
operator? tks~The text was updated successfully, but these errors were encountered: