If I know that all of my possible input objects have a certain method, but they do not share any interface, how can I declare a parameter for them in my function?

seems like the feature requested overhere: Implicit interfaces as in Go

1 Like