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

.clear()
This array function clears all elements in an array.
Example 6
Template
$array.clear()
$array.isEmpty()
Output
true
 
OpenText StreamServe 5.6.2 Updated: 2018-01-26