"isCollapsible"

Gets the information if a module can be collapsed.

Synopsis

bool shape.isCollapsible(string moduleName);

Parameter

Parameter Description
shape Object name
moduleName Name of the module

Description

Gets the current state of the collapsible setting of the module.

Example

Checks if the module "myModule" is collapsible.

main()
{
  this.addModule("myModule");
  if(this.isCollapsible("myModule"))
  {
    DebugN("myModule is collapsible as it is the default setting!");
  }
}

Assignment

Splitter