guard
guard copied to clipboard
Document inclusivity of InRange
It would be nice if the doc comments for InRange
mentioned inclusivity. Without reading the code, it seems ambiguous to me whether it works like SQL between
(min <= x <= max) or the way limits are often expressed with zero-based counters (min <= x < max).
I see your point. The argument docs imply inclusivity by stating the value represents "...min/max value the argument is allowed to have", but yeah I guess it wouldn't hurt to be more explicit in the summary as well. Thanks for the suggestion!

Hi @kjkrum, I'm retiring Guard - I apologise for any inconvenience, and thank you for all the support. The readme has details.