Updated Iteratee functions part of README for lume.reject()

This commit is contained in:
rxi 2015-02-20 19:27:34 +00:00
parent b1c9e3ec2e
commit 7911d62c53

View File

@ -431,7 +431,8 @@ lume({1, 2, 3}):each(print) -- Prints 1, 2 then 3 on separate lines
## Iteratee functions ## Iteratee functions
Several lume functions allow a `table`, `string` or `nil` to be used in place Several lume functions allow a `table`, `string` or `nil` to be used in place
of their iteratee function argument. The functions that provide this behaviour of their iteratee function argument. The functions that provide this behaviour
are: `map()`, `all()`, `any()`, `filter()`, `match()` and `count()`. are: `map()`, `all()`, `any()`, `filter()`, `reject()`, `match()` and
`count()`.
If the argument is `nil` then each value will return itself. If the argument is `nil` then each value will return itself.
```lua ```lua