versionAtLeast
lib.versionAtLeast
Docs pulled from | This Revision | 17 minutes ago
Return true if string v1 denotes a version equal to or newer than v2.
Inputs
v1
- 1. Function argument
v2
- 2. Function argument
Type
versionAtLeast :: String -> String -> Bool
Examples
lib.strings.versionAtLeast
usage example
versionAtLeast "1.1" "1.0"
=> true
versionAtLeast "1.1" "1.1"
=> true
versionAtLeast "1.1" "1.2"
=> false