Conditional type checking in Luau?

Unfortunately, this does not exist at the moment. But there’s a feature request you can show support toward:

But, there is a funky workaround you can try:

1 Like