WoohooLabs\Yin\JsonApi\Hydrator\Relationship\ToManyRelationship::isEmpty PHP Method

isEmpty() public method

Returns true if this relationship is empty, not containing a resource identifier This will be the case when the request want to clear a relationship and sends an empty array as data.
public isEmpty ( ) : boolean
return boolean
    public function isEmpty()
    {
        return empty($this->resourceIdentifiers);
    }