canCopy method
This predicate returns true if #copyable is true, if the layer's Layer#allowCopy is true, and if the diagram's Diagram#allowCopy 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 copy this part.
Implementation
_i2.bool canCopy() => _i4.callMethod(
this,
'canCopy',
[],
);