Neos\Neos\Eel\FlowQueryOperations\ParentsUntilOperation::canEvaluate PHP 메소드

canEvaluate() 공개 메소드

public canEvaluate ( $context ) : boolean
리턴 boolean TRUE if the operation can be applied onto the $context, FALSE otherwise
    public function canEvaluate($context)
    {
        return count($context) === 0 || isset($context[0]) && $context[0] instanceof NodeInterface;
    }