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