How do I know if a table is an array?

前端 未结 0 685

I\'m developing a simple optimized JSON function. Lua uses tables to represent arrays but in JSON I need to recognize between them. The code below is used:

t={
          


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