Extensions > API reference > DottedVersion

DottedVersion

A value representing a version with multiple components, separated by periods, such as 1.2.3.4.

Members

compare_to

int DottedVersion.compare_to(other)

Compares based on most signifigant (first) not-matching version component. So, for example, 1.2.3 < 1.2.4

Parameters

Parameter Description
other

DottedVersion

The other dotted version.