Version: 3.0.9
Runtime Type Checking
It's important when you recieve events or calls from the server that you ensure the types are correct, otherwise unwanted errors may pop up.
If you want to ensure the types you're recieving from the client are the types you're expecting, you can use the Net.Middleware.TypeChecking
middleware.
This middleware just takes type checking functions.
t
#
Using a library like The type checking middleware is created as such:
- roblox-ts
- luau
or