mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
Updated Iteratee functions
part of README for lume.reject()
This commit is contained in:
parent
b1c9e3ec2e
commit
7911d62c53
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user