Neos\Neos\Eel\FlowQueryOperations\ParentsUntilOperation::canEvaluate PHP Méthode

canEvaluate() public méthode

public canEvaluate ( $context ) : boolean
Résultat 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;
    }