Leafo\ScssPhp\Compiler::opAnd PHP Method

opAnd() protected method

Boolean and
protected opAnd ( array $left, array $right, boolean $shouldEval ) : array
$left array
$right array
$shouldEval boolean
return array
    protected function opAnd($left, $right, $shouldEval)
    {
        if (!$shouldEval) {
            return;
        }
        if ($left !== static::$false and $left !== static::$null) {
            return $this->reduce($right, true);
        }
        return $left;
    }
Compiler