widget-type-match

widget-type-match is a compiled Lisp function in `wid-edit.el'.

(widget-type-match WIDGET VALUE)

Non-nil if the :type value of WIDGET matches VALUE.

The value of the :type attribute should be an unconverted widget type.