switch.luaLua implementation of a switch statement. Supports an optional default case.Examplelocalswitch=require'switch'switch('lua', { goodbye=function(value) ...end, hello=function(value) ...end, [switch.default] =function(value) ...end })