Skip to content

Commit cfec996

Browse files
committed
QA: Document except()
1 parent a98b04f commit cfec996

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ The following operations return a new `Sequence` instance on which more intermed
9494
* **limit** - Stops iteration when limit is reached. Using `limit(10)` stops iteration once ten elements have been returned, `limit(function($e) { return 'stop' === $e; })` will stop once the first element equal to the string *stop* is encountered.
9595
* **filter** - Filters the sequence by a given criterion. The new sequence will only contain values for which it returns true. Accepts a function or a `util.Filter` instance.
9696
* **map** - Maps each element in the sequence by applying a function on it and returning a new sequence with the return value of that function.
97+
* **except** - Returns the sequence with all values except the ones given.
9798
* **peek** - Calls a function for each element in the sequence; especially useful for debugging, e.g. `peek('var_dump', [])`.
9899
* **counting** - Increments the integer given as its argument for each element in the sequence.
99100
* **collecting** - Collects elements in this sequence to a `util.data.ICollector` instance. Unlike the terminal operation below, passes the elements on.

0 commit comments

Comments
 (0)