operator < method

bool operator <(
  1. SodiumVersion other
)

Checks if this version is less than other.

Implementation

bool operator <(SodiumVersion other) =>
    major < other.major || major == other.major && minor < other.minor;