PluginFeature.checkVersion

bool checkVersion(uint minMajor, uint minMinor, uint minMicro)

Checks whether the given plugin feature is at least the required version.

Note

Since version 1.24 this function no longer returns true if the

version is a git development version (e.g. 1.23.0.1) and the check is for the "next" micro version, that is it will no longer return true for e.g. 1.23.0.1 if the check is for 1.23.1. It is still possible to parse the nano version from the string and do this check that way if needed.

Parameters

minMajorminimum required major version
minMinorminimum required minor version
minMicrominimum required micro version

Returns

true if the plugin feature has at least

the required version, otherwise false.