If the casts fails then the Partial Function is no...
# functional
r
If the casts fails then the Partial Function is not suitable to be applied and if it succeeds then we are casting to the right type.