return function(t,N,M)if M[t]~=nil then return M[t](unpack(N))end end
--[[

= DigitalSwirl =

Source: CommonModules/Switch.lua
Purpose: Switch case implementation
Author(s): Regan "CD/TheGreenDeveloper" Green

--]]

return function(v, a, cases)
	if cases[v] ~= nil then
		return cases[v](unpack(a))
	end
end
