Leafo\ScssPhp\Compiler::opOr PHP Method

opOr() protected method

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