I need to pass variable argument to another function. The problem is that this argument is an function and i have no idea how to determine the type of funtion. For example i