Home > @magiclane/maps-sdk > Version
Version class
Define the content version with major and minor.
Signature:
export declare class Version Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
boolean |
Checks if this version is valid (not zero) | |
|
|
number |
Major version number | |
|
|
number |
Minor version number |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Compares this version with another version | ||
|
Checks if this version equals another version | ||
|
|
Creates a Version from JSON data | |
|
|
Creates a Version from major and minor numbers | |
|
Returns a hash code for this version | ||
|
Returns a string representation of this version |