Function: widget-type-match

widget-type-match is a byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-type-match WIDGET VALUE)

Documentation

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

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

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun 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."
  (widget-apply (widget-convert (widget-get widget :type)) :match value))