Check for an empty type for switch