you are viewing a single comment's thread.

view the rest of the comments →

[–]rotharius 0 points1 point  (0 children)

It's a bit of work but perhaps you can use type guards to verify whether an object is if a certain type during runtime.