code: function getPlatforms(tdef) {
  	const platforms = [];
  
  	if (tdef) {
  		tdef.deployUnits.array.forEach((du) => {
  			const platform = du.findFiltersByID('platform');
  			if (platform && platforms.indexOf(platform.value) === -1) {
  				platforms.push(platform.value);
  			}
  		});
  	}
  
  	return platforms;
  }
docs: Returns the platforms related to that TypeDefinition
  @param tdef
  @returns {Array}