ibllib.misc.version
Functions
check if v1 == v2 |
|
check if v1 >= v2 |
|
check if v1 > v2 |
|
check if v1 <= v2 |
|
check if v1 < v2 |
- gt(v1, v2)[source]
check if v1 > v2
- Parameters
v1 (str) – version string, in the form “1.23.3”
v2 (str) – version string, in the form “1.23.3”
- Returns
bool
- ge(v1, v2)[source]
check if v1 >= v2
- Parameters
v1 (str) – version string, in the form “1.23.3”
v2 (str) – version string, in the form “1.23.3”
- Returns
bool
- lt(v1, v2)[source]
check if v1 < v2
- Parameters
v1 (str) – version string, in the form “1.23.3”
v2 (str) – version string, in the form “1.23.3”
- Returns
bool
- le(v1, v2)[source]
check if v1 <= v2
- Parameters
v1 (str) – version string, in the form “1.23.3”
v2 (str) – version string, in the form “1.23.3”
- Returns
bool