Function to ask for property's type