Template Engine language reference > Arrays > Array functions > .isEmpty()

.isEmpty()
This array function checks whether an array is empty. If the array is empty, this function returns true. If the array contains elements, this function returns false.
Example 5
Template
#set($array = [2,40,367])
$array.isEmpty()
Output
false
 
OpenText StreamServe 5.6.2 Updated: 2018-01-26