- any
any - checking if anything matches
examples/dart-intro/any.dart
main() { List languages = ['Perl', 'Python', 'Dart']; print(languages); // [Perl, Python, Dart] print(languages.any((l) => l.length < 5)); // true }
main() { List languages = ['Perl', 'Python', 'Dart']; print(languages); // [Perl, Python, Dart] print(languages.any((l) => l.length < 5)); // true }