- the array is as follows
[
{"admin":0,"del":6,"download":0,"move":16,"rename":0,"upload":0},
{"admin":0,"del":0,"download":2,"move":16,"rename":0,"upload":4},
{"admin":0,"del":0,"download":2,"move":16,"rename":0,"upload":0}
]
process the array, in the object of each item, for example, return true, if admin is all greater than 0, otherwise return false
["admin":false,"del":false,"download":false,"move":true,"rename":false,"upload":false
]
is there a good way to deal with
Thank you.