Object.isConstructionSite
- 
					
					
					
					
Hi guys,
How would I check if my object is a construction site?
For example I know I can check if it's a controller with the following code and would like to do something similar:
if(target.structureType == STRUCTURE_CONTROLLER)
Thanks,
Primoz
 - 
					
					
					
					
I check for the progress attribute to see if the target is a construction site.
if (target.progress !== undefined){
// build
}
 - 
					
					
					
					
target instanceof ConstructionSite
 -