The HTMLSelectElement.type read-only property returns the form control's type.
HTMLSelectElement.type
MDN Reference