Comment Comment by agrafix you can type check this in static languages too if the type system supports structural typing [0][0] https://en.wikipedia.org/wiki/Structural_type_system parent agrafix 4 years ago
[0] https://en.wikipedia.org/wiki/Structural_type_system