Skip to content

pantoken-root / plugins/pantoken/deprecations/src / compareVersions

Fonksiyon: compareVersions() ​

compareVersions(a, b): number

Beta

İki nokta ile ayrılmış iki sürüm dizisini karşılaştırır: a < b ise negatif, eşitse 0, a > b ise pozitif.

Parametreler ​

a ​

number[]

b ​

number[]

Döndürür ​

number