Detect array length?

Hi,

I have an array in my json and I would like to know the length, to use it in my conditions. In Javascript, I would use the length function like array.length, but ProtoPie doesn’t seem to support that when using

length(parseJson(jsonVar, “array“))

Also

parseJson(jsonVar, “array.length“)

didn’t work.

Do I just not know the correct syntax, or is it not possible to read the array length in ProtoPie?


Thanks