TypeChecker
tip
This should be constructed for each connection or each connection with the same types.
Constructs a middleware function with the settings you select.
local newChecker = TypeChecker({"string", "number"})
--Or use it like this:
NeoNet:Connect("SomeEvent", function()
--do something
end, TypeChecker{"string", "number"})
if you want to create your own middleware check out the docs page on it.