CompareBetween compares if the dst value lie between two values val1 and val2(both inclusive).
(dst, val1, val2 Val)
| 38 | // CompareBetween compares if the dst value lie between |
| 39 | // two values val1 and val2(both inclusive). |
| 40 | func CompareBetween(dst, val1, val2 Val) bool { |
| 41 | return CompareVals("ge", dst, val1) && |
| 42 | CompareVals("le", dst, val2) |
| 43 | } |
no test coverage detected