up.form.isField(element)
JavaScript function
Returns whether the given element is a form field, such as input or select.
To configure what Unpoly considers a form field, use up.form.config.fieldSelectors.
Parameters
element
Return value
Whether the given element is a form field.
Type: boolean