class type statics =object
..end
method compare : Js.js_string Js.t -> Js.js_string Js.t -> Js.number Js.t Js.meth
Compare 2 specified versions, starting from left to right. If a part contains special version strings, they are handled in the following order: 'dev' < 'alpha' = 'a' < 'beta' = 'b' < 'RC' = 'rc' < '#' < 'pl' = 'p' < 'anything else'
Parameters:
Js.js_string Js.t
The current version to compare to
Js.js_string Js.t
The target version to compare to
Returns:
Js.number Js.t
Returns -1 if the current version is smaller than the target version, 1 if greater, and 0 if they're equivalent
method getComponentValue : 'a 'b. 'a Js.t -> 'b Js.t Js.meth
Converts a version component to a comparable value
Parameters:
_ Js.t
The value to convert