canUngroup method
This predicate returns true if #ungroupable is true, if the layer's Layer#allowUngroup is true, and if the diagram's Diagram#allowUngroup 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 ungroup this object.
Implementation
_i2.bool canUngroup() => _i4.callMethod(
this,
'canUngroup',
[],
);