Constructors
constructor
new Version( major: number , minor: number , patch: number ) : Version
Parameters
major: number
minor: number
patch: number
Methods
compare
Parameters
Returns number
isAfter
Parameters
Returns boolean
isAfterOrEqual
isAfterOrEqual( other: Version ) : boolean
Parameters
Returns boolean
isBefore
Parameters
Returns boolean
isBeforeOrEqual
isBeforeOrEqual( other: Version ) : boolean
Parameters
Returns boolean
isEqualTo
Parameters
Returns boolean
Static parse
parse( versionString: string ) : Version
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Returns 0 if this version is equal to the other version. Returns a negative integer if this version is strictly smaller than the other version. Returns a positive integer if this version is strictly larger than the other version.