Spec-Zone.ru › Dart 2

dart:svg

Метод containsAll

bool containsAll(
  1. Iterable<Object?> collection
)
inherited

Является ли данное множество содержит все элементы other.

final characters = <String>{'A', 'B', 'C'};
final containsAB = characters.containsAll({'A', 'B'});
print(containsAB); // true
final containsAD = characters.containsAll({'A', 'D'});
print(containsAD); // false

Реализация

bool containsAll(Iterable<Object?> collection) =>
    readClasses().containsAll(collection);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-svg/AttributeClassSet/containsAll.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API