How to check for at least one object inside another object

后端 未结 0 1763
日久生厌
日久生厌 2020-11-27 06:05

I saw many examples but they all related to arrays.

this is my object

categories = {
    category1: [ { id: 1, quantity: 0 } ]
    category2: [ { id: 2         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题