No, I would not add runtime checks to this. If you call the function with something different than the types specify that's on your own. The caller has to verify that he can call the function
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.