/utils/versionCheck
- Source
Methods
(inner) versionCheck(value) → {boolean}
Compare the mapp.version string property against as string value provided as argument.
The versionCheck returns true if the provided value argument equals or exceeds the mapp.version.
versionCheck('4.12') //returns true with mapp.version = '4.12.0' or smaller.
Parameters:
Name | Type | Description |
---|---|---|
value | String | The value to compare with the current version. |
- Source
Returns:
Return true if the current version is more than or equal to the given value.
- Type:
- boolean