Function: org-element-type-p
org-element-type-p is a byte-compiled function defined in
org-element-ast.el.gz.
Signature
(org-element-type-p NODE TYPES)
Documentation
Return non-nil when NODE type is one of TYPES.
TYPES can be a type symbol or a list of symbols.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-element-ast.el.gz
(define-inline org-element-type-p (node types)
"Return non-nil when NODE type is one of TYPES.
TYPES can be a type symbol or a list of symbols."
(inline-letevals (node types)
(if (listp (inline-const-val types))
(inline-quote (memq (org-element-type ,node t) ,types))
(inline-quote (eq (org-element-type ,node t) ,types)))))