Object found in an htl file but don't know how it was imported
In an html file I can see a code like below.
{{@root.group.name}} - {{add.cityCode}}I believe that 'add' is an object . But I cannot see a statament like data-sly-use.add=//some class name
in the htl file. There is only a single occurrence of 'add' in the file. Could you please tell me how is it possible? Also I need to show a Item add.cityZip if cityZip is not null (cityZip is a string a suppose that it can be null or empty). If it is empty I need to show {{@root.group.name}} - {{add.cityCode}} otherwise I
need to show {{@root.group.name}} - {{add.cityZip}}-{{add.cityCode}}. could anyone share how can we use the if else here?