Iterate every element of an input with unknown properties (could be integer, string, lists of list of lists) and update the element in-place

前端 未结 0 1694
一向
一向 2021-01-14 04:14

I need to iterate through every element an input, not knowing before hand what it is (array, integer, string), and modify IN-PLACE the element, if it is a string of only num

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