lua-switch

Switch expression statement for Lua

$ luarocks install lua-switch

This package provides simple function named "switch" which could be used to emulate switch statement which does
not exist in Lua but does in other languages. It also can handle default fallback.

Versions

1.0.0-13 years ago32 downloads

Dependencies

lua >= 5.3

Manifests