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
Discussion (0)0
Comments
set myObj={}
if myObj.%Size()=0 { write"This is an empty object" }Is your object a %DynamicObject?
Yes.