17 May
2021
17 May
'21
1:15 p.m.
Chris:
There are two obvious definitions of a range: a range object, and a pair of inequalities. I'm not sure whether a range object is supported, but it's possible to use a built-in type with a guard as a range check:
By range I mean an object in range. Is it possible to match object in range? No. Yes we can have a guard as a range check but Valentin is suggesting to have a different operator for range checking. I'm don't think that's possible.