Leafo\ScssPhp\Compiler::opEq PHP Method

opEq() protected method

Compare number1 == number2
protected opEq ( array $left, array $right ) : array
$left array
$right array
return array
    protected function opEq($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