Skip to content

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

関数: compareVersions() ​

compareVersions(a, b): number

ベータ

ドットで区切られた 2 つのバージョン配列を比較します:a < b のときは負、等しいときは 0、a > b のときは正。

パラメーター ​

a ​

number[]

b ​

number[]

戻り値 ​

number