Closed ozra closed 8 years ago
Both in
and in?
are allowed for a time of trial.
Also: x not in y
, x is in y
, x isnt in y
. I think these will be removed except for the not in
which makes code clearer in many cases: if my-char not in AllowedChars => raise hell
I think this should be added, personally I'm very used to this construct. As usual in Onyx, an operator simply maps to a generic function, user definable.
In this case it should obviously map to
includes?
.