DashboardCanvasService.createHideLayersCommand Method
        
 Create a command to hide layers.
 
         
        Parameters
        
            - layerIdOrAdapter
            
 
            - 
                
Type: Array
ElementType: String or dundas.view.controls.Layer
Array of layerId or layer adapters to hide 
            - isNotUndoable
            
 
            - 
                
Type: Boolean
True to make this command not undoable. 
            - suppressWarning
            
 
            - 
                
Type: Boolean - May be null
(Optional) True to display console warning instead of warning message box.  
        
        Return Value
        
Type: Command
        
The command.