How to do conditional compare to payload item with zero items?

Instead of {{working.webapi.body}} === "[]" I’ve tried these things (I’m 99% sure):

{{working.webapi.body}} === null
{{working.webapi.body}} === "null"
{{working.webapi.body}} === 0
{{working.webapi.body}} === []
{{working.webapi.body}} == null
{{working.webapi.body}} == "null"
{{working.webapi.body}} == 0
{{working.webapi.body}} == []
{{working.webapi.body.count}} === 0
{{working.webapi.body.count}} == 0

How to do a conditional based on this: ?
"body" : [] 0 items

@Bryan_Chase,

The correct way would be: {{ data.array.length }} === 0

It stems from Javascript. I’m making a note to add this to the docs to make it clearer.

@Bryan_Chase,

Actually, I retract my statement. Not that it wouldn’t work, i’d just like to recommend something else. I’d recommend you use Handlebar helpers in situations like this:

{{length data.array}} == 0

or

{{length data.array}} === "0"

You can see more helpers in this doc:

They both work, thanks!