'How do i check individual response of every deleted record

Hi I'm writing a snippet which used to delete and it's working fine, but I need to check each and every response should be 'ok' or I need to reject it. If I may loop the response but it's consuming a lot of time I need to do without the loop. Is it possible to do?

NPM: NANO, Language: NODEJS, DATABASE: COUCHDB

   { "_id": "...",
     "_rev": "...",
    "_deleted": true
   },
   { "_id": "...",
     "_rev": "...",
    "_deleted": true
   },
   { ... }   
]}```


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source