title: Return any type of object from a function
body: <p>Is there any way of returning an object from a function. The tricky part is the object can be of any type. I want a function to handle returning objects from session. So the object i want to return could be a product one minute but then i might want to return a customer the next minute. Is it possible or will I have to do a function to return each type.</p>