True but by using guards + pattern matching structs you can approximate type hinting, but it feels cumbersome and more of a workaround than a real solution.
I find them much better suited for specific tasks where there is little overlap or repetition.