shortcut to obtain the target type of a function
Merge pull request #926 from JanBessai/FunctionTarget

Shortcut to obtain the target type of a function