Neos\Flow\Persistence\Generic\Query::isEmpty PHP Method

isEmpty() public method

It matches if the multivalued property contains no values or is NULL.
public isEmpty ( string $propertyName ) : boolean
$propertyName string The name of the multivalued property to check
return boolean
    public function isEmpty($propertyName)
    {
        if (!$this->classSchema->isMultiValuedProperty($propertyName)) {
            throw new InvalidQueryException('Property "' . $propertyName . '" must be multi-valued', 1276853547);
        }
        return $this->qomFactory->comparison($this->qomFactory->propertyValue($propertyName, '_entity'), QueryInterface::OPERATOR_IS_EMPTY);
    }