You are here

public static function Comparator::notEqualTo in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/composer/semver/src/Comparator.php \Composer\Semver\Comparator::notEqualTo()

Evaluates the expression: $version1 != $version2.

Parameters

string $version1:

string $version2:

Return value

bool

File

vendor/composer/semver/src/Comparator.php, line 91

Class

Comparator

Namespace

Composer\Semver

Code

public static function notEqualTo($version1, $version2) {
  return self::compare($version1, '!=', $version2);
}