canAddMembers method

bool canAddMembers(
  1. Iterable<Part> coll
)

See if the given collection of Parts contains non-Links all for which CommandHandler#isValidMember returns true.

The CommandHandler predicate will use CommandHandler#memberValidation and #memberValidation, if either or both are defined.

This does not check Diagram#isReadOnly or Model#isReadOnly, but commands and tools should check those properties. @expose @param {Iterable.

Implementation

_i2.bool canAddMembers(_i3.Iterable<_i3.Part> coll) => _i4.callMethod(
      this,
      'canAddMembers',
      [coll],
    );