mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
Changed 'vars' arg in lume.format() to be optional
This commit is contained in:
parent
778e7f9800
commit
d1e6c0334b
@ -211,7 +211,7 @@ instead of whitespace.
|
||||
lume.trim(" Hello ") -- Returns "Hello"
|
||||
```
|
||||
|
||||
### lume.format(str, vars)
|
||||
### lume.format(str [, vars])
|
||||
Returns a formatted string. The values of keys in the table `vars` can be
|
||||
inserted into the string by using the form `"{key}"` in `str`.
|
||||
```lua
|
||||
|
Loading…
Reference in New Issue
Block a user