Leafo\ScssPhp\Compiler::opNeq PHP Method

opNeq() protected method

Compare number1 != number2
protected opNeq ( array $left, array $right ) : array
$left array
$right array
return array
    protected function opNeq($left, $right)
    {
        if (($lStr = $this->coerceString($left)) && ($rStr = $this->coerceString($right))) {
            $lStr[1] = '';
            $rStr[1] = '';
            $left = $this->compileValue($lStr);
            $right = $this->compileValue($rStr);
        }
        return $this->toBool($left !== $right);
    }
Compiler