Function: ibut:is-type-p
ibut:is-type-p is a byte-compiled function defined in hbut.el.
Signature
(ibut:is-type-p IBUT IBUT-TYPE-SYMBOL)
Documentation
Return non-nil if IBUT is a button of type IBUT-TYPE-SYMBOL.
Use ibut:at-type-p to test the type of the implicit button at point.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbut.el
(defun ibut:is-type-p (ibut ibut-type-symbol)
"Return non-nil if IBUT is a button of type IBUT-TYPE-SYMBOL.
Use `ibut:at-type-p' to test the type of the implicit button at point."
(when (setq ibut-type-symbol (ibtype:elisp-symbol ibut-type-symbol))
(unless (ibut:is-p ibut)
(setq ibut nil))
(and ibut (eq (ibut:type ibut) ibut-type-symbol))))