mirror of
https://github.com/pkulchenko/serpent.git
synced 2024-11-21 23:24:24 +00:00
832af701d3
Example: local a = { foo = 'bar', [1] = 2, [true] = 'only me' } local options = { keywhitelist = { ['foo'] = true, [true] = true }, ignore = { ['bar'] = true } } print(serpent.block(a, options)) -- output: { [true] = "only me" } |
||
---|---|---|
.. | ||
bench.lua | ||
test.lua |