Skip to content

Function: compareVersion

compareVersion(v1, v2): -1 | 0 | 1

Parameters

NameType
v1any
v2any

Returns

-1 | 0 | 1

Defined in

utils.ts:505

Released under the MIT License.