Skip to content

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 ​

ParameterType
astring
bstring

Returns ​

boolean

Released under the MIT License.