I basically just want a true or false for if any indexes are empty.
For example: [{key:value}, {}, {key:value}]
, index 1 is empty.
I basically just want a true or false for if any indexes are empty.
For example: [{key:value}, {}, {key:value}]
, index 1 is empty.
Great question @ackerman! This came to mind:
FROM item, index IN myList WHERE ISEMPTY(item) SELECT index
This would return a list of indexes where the item is empty.
THIS!
@ackerman you can also do this:
FROM myList WHERE ISEMPTY(item) SELECT index
As item
and index
bindings are automatically defined when using a query expression on a list!!