Returns true if the available version is compatible with the
required version. Compatibility is defined as the available
version being equal to or larger than the required version.
A version string is made up of several numerical components
with the most significant one coming first (e.g. 2.1.0 or
99/12/25). The version components are compared one by one
starting with the most significant. All version components
are compared, if they are missing in their version, zero is
assumed (2.1 is equivalent to 2.1.0.0).
Available version 2.x will be compatible with required version
1.x, 1.0 and 1 (the last two are the same) but not with
required version 3.x. 2.x will be compatible with 2.y if x
and y are independently compatible according to the same rules.
The supported version separators are . , / -.
True: available >= required
- Parameters:
available
- The available version numberrequired
- The ninimum required version number- Returns:
- True if available equals to or larger than the required