Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 5976f21

Browse files
committed
Update list methods descriptions
Clarified description for every() and some().
1 parent b525cc8 commit 5976f21

File tree

1 file changed

+2
-2
lines changed
  • src/site/_includes/language-tour/3-built-in-types

1 file changed

+2
-2
lines changed

src/site/_includes/language-tour/3-built-in-types/lists.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ <h4> List and Collection methods </h4>
120120
returns a new collection with only the elements that satisfy a condition.
121121
The <a href="http://api.dartlang.org/dart_core/Collection.html#every">every()</a> and
122122
<a href="http://api.dartlang.org/dart_core/Collection.html#some">some()</a> methods
123-
check whether a collection matches
124-
every condition or at least one condition, respectively.
123+
check whether every item in a collection matches a condition
124+
or if at least one item matches a condition, respectively.
125125
The <a href="http://api.dartlang.org/dart_core/List.html#sort">sort()</a> method
126126
lets you sort a list using any criteria you like.
127127
</p>

0 commit comments

Comments
 (0)