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.
Parameters
| Name |
Description |
elements
|
The input array to evaluate. |
Example
This example indicates whether the input array is empty.
Source
%dw 2.0
output application/json
---
[ isEmpty([]), isEmpty([1]) ]