Leafo\ScssPhp\Compiler::isWithout PHP Method

isWithout() private method

Filter WITH rules
private isWithout ( integer $without, Leafo\ScssPhp\Block $block ) : boolean
$without integer
$block Leafo\ScssPhp\Block
return boolean
    private function isWithout($without, Block $block)
    {
        if ($without & static::WITH_RULE && isset($block->selectors) || $without & static::WITH_MEDIA && isset($block->type) && $block->type === Type::T_MEDIA || $without & static::WITH_SUPPORTS && isset($block->type) && $block->type === Type::T_DIRECTIVE && isset($block->name) && $block->name === 'supports') {
            return true;
        }
        return false;
    }
Compiler