Written by

Technical Delivery Master at Deloitte
Question Michael Wood · Jul 29, 2024

Check if DTL variable is an empty object

I have a DTL that calls a custom function that returns an object.  How do I code the IF statement to check if the object is empty.  e.g. IF tObject={}

Product version: IRIS 2023.1

Comments

Julius Kavay · Jul 29, 2024
set myObj={}
if myObj.%Size()=0 { write"This is an empty object" }
0