isValueInBetween
Checks whether a value is in between the min and the max. The min value is inclusive and the max value is exclusive, in fewer words [min, max).
Return
true if value is in between [min, max], false otherwise.
Parameters
value
the value to check.
min
the minimum value.
max
the maximum value.