Yeah that was a bad example, sorry. Too much time in TS. Obviously can't do 
something like that since the type might be either at runtime. I guess would 
need something like Rust's [Any](https://doc.rust-lang.org/std/any/index.html) 
to check/cast to a concrete type at runtime.

Reply via email to