mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
Fixed incorrect lume.merge() example in README.md
This commit is contained in:
parent
072e3149c2
commit
602cf574fa
@ -110,7 +110,7 @@ Merges all the values from the table `t2` into `t` in place. If `retainkeys` is
|
|||||||
true the table is not treated as an array and retains its original keys; if `t`
|
true the table is not treated as an array and retains its original keys; if `t`
|
||||||
and `t2` have a conflicting key, the value from `t2` is used.
|
and `t2` have a conflicting key, the value from `t2` is used.
|
||||||
```lua
|
```lua
|
||||||
lume.merge({2, 3}, {4, 5}, true) -- Returns {2, 3, 4, 5}
|
lume.merge({2, 3}, {4, 5}) -- Returns {2, 3, 4, 5}
|
||||||
```
|
```
|
||||||
|
|
||||||
### lume.find(t, value)
|
### lume.find(t, value)
|
||||||
|
Loading…
Reference in New Issue
Block a user