vennila ramasamy
02/22/2023, 2:32 PM{
"reference": []
}
i need to include an if condition on this like if it is empty.
how can i do this? i tried with null and undefined, but no use.
Could anyone please help?reptar
02/22/2023, 3:27 PMArray.isArray()
, arr.length
as a truthy / falsy condition, etc.? Or are you unsure how to interact with objects?vennila ramasamy
02/22/2023, 4:34 PM