Class type Ext_Version.t


class type t = object .. end

method equals : 'a. 'a Js.t -> bool Js.t Js.meth

Returns whether this version equals to the supplied argument

Parameters:

Returns:


method getBuild : Js.number Js.t Js.meth

Returns the build component value

Returns:


method getMajor : Js.number Js.t Js.meth

Returns the major component value

Returns:


method getMinor : Js.number Js.t Js.meth

Returns the minor component value

Returns:


method getPatch : Js.number Js.t Js.meth

Returns the patch component value

Returns:


method getRelease : Js.number Js.t Js.meth

Returns the release component value

Returns:


method getShortVersion : Js.js_string Js.t Js.meth

Returns shortVersion version without dots and release


method gt : 'b. 'b Js.t -> bool Js.t Js.meth

Convenient alias to isGreaterThan

Parameters:


method gtEq : 'c. 'c Js.t -> bool Js.t Js.meth

Convenient alias to isGreaterThanOrEqual

Parameters:


method isGreaterThan : 'd. 'd Js.t -> bool Js.t Js.meth

Returns whether this version if greater than the supplied argument

Parameters:

Returns:


method isGreaterThanOrEqual : 'e. 'e Js.t -> bool Js.t Js.meth

Returns whether this version if greater than or equal to the supplied argument

Parameters:

Returns:


method isLessThan : 'f. 'f Js.t -> bool Js.t Js.meth

Returns whether this version if smaller than the supplied argument

Parameters:

Returns:


method isLessThanOrEqual : 'g. 'g Js.t -> bool Js.t Js.meth

Returns whether this version if less than or equal to the supplied argument

Parameters:

Returns:


method lt : 'h. 'h Js.t -> bool Js.t Js.meth

Convenient alias to isLessThan

Parameters:


method ltEq : 'i. 'i Js.t -> bool Js.t Js.meth

Convenient alias to isLessThanOrEqual

Parameters:


method _match : 'j. 'j Js.t -> bool Js.t Js.meth

Returns whether this version matches the supplied argument. Example:

var version = new Ext.Version('1.0.2beta');
console.log(version.match(1)); // True
console.log(version.match(1.0)); // True
console.log(version.match('1.0.2')); // True
console.log(version.match('1.0.2RC')); // False

Parameters:

Returns:


method toArray : Js.number Js.t Js.js_array Js.t Js.meth

Returns this format: [major, minor, patch, build, release]. Useful for comparison