1681-engine / updates / isNewer
Function: isNewer() ​
ts
function isNewer(a, b): boolean;Defined in: src/updates/manifest.ts:56
Whether version a ("0.5.23", "v0.5.23") is newer than b, number by number; a missing part counts 0.
Parameters ​
| Parameter | Type |
|---|---|
a | string |
b | string |
Returns ​
boolean