canGroup method

bool canGroup()

This predicate returns true if #groupable is true, if the layer's Layer#allowGroup is true, and if the diagram's Diagram#allowGroup is true.

This does not check Diagram#isReadOnly or Model#isReadOnly, but commands and tools should check those properties. @expose @return {boolean} true if the user may group this part.

Implementation

_i2.bool canGroup() => _i4.callMethod(
      this,
      'canGroup',
      [],
    );