How can I check if a useState array contains a specific item?

后端 未结 0 1648
梦谈多话
梦谈多话 2020-12-31 18:56

I\'m using an useState array in React Native and trying to check if the array has a specific item, but I cannot find how to do it. I have tried .includes() but does not seem

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