**Request: ** Many validations check that answers are within a range. With the InRange
method, one can check whether an answer is in a closed set (e.g., 50 >= x >= 10
). But one cannot check whether an answer is in an open or semi-closed set (e.g., 50 >= x > 0
, 24 > x > 0
). Consider either extending InRange
to indicate whether range bounds are open are closed, or providing a new function where this is possible. This is simply a convenience function so that the user does not need to write basic comparison operators like in parentheticals above.)
Use case: To cite a few examples:
- Number of hours in the past 24 that something was used, where use hours are strictly non-zero.