How to check the input data type?

前端 未结 0 1207
误落风尘
误落风尘 2020-12-29 16:05

My condition takes props which contains either a string or an array. I\'m trying to check what type of received data and, based on this, I fulfill the condition. In this cas

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