operator < method

bool operator <(
  1. PluginVersion other
)

Implementation

bool operator <(PluginVersion other) {
  if (_major == null) return other._major != null || other._minor > _minor;
  if (other._major == null || other._major < _major) return false;
  return other._major > _major || other._minor > _minor;
}