Shortcut to obtain the target type of a function