Returns whether or not the given value lies between v1 and v2.
Value to compare
One bound of the range. This method orders the bounds as needed.
Other bound of the range. This method orders the bounds as needed.
Optional
If true, value can also equal v1 or v2 (ie the range is inclusive)
Returns whether or not the given value lies between v1 and v2.