Function: oclosure-type
oclosure-type is a byte-compiled function defined in oclosure.el.gz.
Signature
(oclosure-type OCLOSURE)
Documentation
Return the type of OCLOSURE, or nil if the arg is not an OClosure.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/oclosure.el.gz
(defun oclosure-type (oclosure)
"Return the type of OCLOSURE, or nil if the arg is not an OClosure."
(and (closurep oclosure)
(> (length oclosure) 4)
(let ((type (aref oclosure 4)))
(if (symbolp type) type))))