%dw 2.0
output application/json
---
[ isEmpty([]), isEmpty([1]) ]
isEmpty
isEmpty(Array<Any>): Boolean
Returns true
if the given input value is empty, false
if not.
This version of isEmpty
acts on an array. Other versions
act on a string or object, and handle null values.