Seeking assistance in determining if the array is empty or not. What are the conditions for this?
An empty array appears as follows:
[
{
"readTime": "2019-09-09T15:20:44.648599Z"
}
]
A non-empty array looks like this:
[
{
"document": {
"name": "projects/warrenty-MdBQxhFSQF11ZKImqL",
"fields": {
"plate": {
"stringValue": "AW69176"
"createDate": {
"timestampValue": "2019-08-22T21:08:42.563Z"
},
"product": {
"stringValue": "Paint"
},
"exp_date": {
"timestampValue": "2026-08-22T21:08:18Z"
}
},
"createTime": "2019-08-22T21:09:19.972639Z",
"updateTime": "2019-09-09T11:33:27.134588Z"
},
"readTime": "2019-09-09T15:19:49.433613Z"
},
]