Skip to content

pantoken / plugins/pantoken/deprecations/src / compareVersions

Functie: compareVersions()

compareVersions(a, b): number

Bèta

Vergelijk twee met punten gescheiden versie-arrays: negatief als a < b, 0 als gelijk, positief als a > b.

Parameters

a

number[]

b

number[]

Retourneert

number