Get origin of a function