You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can currently do if (x is T) if T is some primitive-ish type like i64 or str or even a user-defined struct. Unfortunately we cannot match x with something like [T], although I suppose that requires proper generics of some sort.