check_version


Description:

public bool check_version (uint min_major, uint min_minor, uint min_micro)

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:

this

a feature

min_major

minimum required major version

min_minor

minimum required minor version

min_micro

minimum required micro version

Returns:

true if the plugin feature has at least the required version, otherwise false.