Js- How to check if all keys in object array === false? [closed]

I want to check my array object to see if all the keys equal to false.

const response = [
   "add": false,
   "edit": false
   "delete": false

if (allKeys === false) {


Read more here: https://stackoverflow.com/questions/68463700/js-how-to-check-if-all-keys-in-object-array-false

Content Attribution

This content was originally published by Chanty Sok at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: