version_compare


Description:

[ Version ( since = "0.12.0" ) ]
public bool version_compare (string version) throws Error

Tests whether the version number of this Relation is fulfilled by version .

Whether the given version is sufficient to fulfill the version requirement of this Relation is determined by its comparison resraint.

Parameters:

this

an Relation instance.

version

a version number, e.g. `1.2.0`

Returns:

true if the version from the parameter is sufficient.