Files
LLeMbas-TTY/docs/config/lua/wezterm.serde/toml_encode.md
T

11 lines
213 B
Markdown

# `wezterm.serde.toml_encode(value)`
{{since('nightly')}}
Encodes the supplied `lua` value as `toml`:
```
> wezterm.serde.toml_encode({foo = { "bar", "baz", "qux" } })
"foo = [\"bar\", \"baz\", \"qux\"]\n"
```