How to check empty array in ionic 5

后端 未结 0 868
无人及你
无人及你 2021-02-06 20:16

The value of a variable is {}

i am trying to check if its empty or not using if statement.

I have tried the following

if(val)
        {
                     


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