Leafo\ScssPhp\Compiler::isImmediateRelationshipCombinator PHP Method

isImmediateRelationshipCombinator() protected method

Is the value a direct relationship combinator?
protected isImmediateRelationshipCombinator ( string $value ) : boolean
$value string
return boolean
    protected function isImmediateRelationshipCombinator($value)
    {
        return $value === '>' || $value === '+' || $value === '~';
    }
Compiler