90 mins later we had to go to sleep for sub for two other people that were not
It depends. Some functions can have inverses that are also functions, such as the function y = x. However, a function like y = x^2 would not have an inverse that is also a function.