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

canEvaluate() public méthode

We can only handle ContentRepository Nodes.
public canEvaluate ( mixed $context ) : boolean
$context mixed
Résultat boolean
    public function canEvaluate($context)
    {
        return count($context) === 0 || isset($context[0]) && $context[0] instanceof NodeInterface;
    }