Function: hattr:is-p

hattr:is-p is a byte-compiled function defined in hbut.el.

Signature

(hattr:is-p ATTR VALUE &optional HBUT-SYMBOL)

Documentation

Return t if ATTR has VALUE for ='hbut:current or optional HBUT-SYMBOL.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbut.el
(defun hattr:is-p (attr value &optional hbut-symbol)
  "Return t if ATTR has VALUE for \='hbut:current or optional HBUT-SYMBOL."
  (and (symbolp attr) attr
       (eq (hattr:get (or (and (symbolp hbut-symbol) hbut-symbol) 'hbut:current)
		      attr)
	   value)))