In JasperReport I want to print a field when it does not contain empty array.
How can I check it?
In "Print when expression" it is possible to write:
$F{myField} != null
but as $F{myField} is an empty array (so it is not null) it does not work.
Is there any method to check it? It seems to me that there is no isEmpty() function for JasperReport.