Function: cl-type--pcase-macroexpander

cl-type--pcase-macroexpander is a function defined in cl-macs.el.gz.

Signature

(cl-type--pcase-macroexpander TYPE)

Documentation

Pcase pattern that matches objects of TYPE.

TYPE is a type descriptor as accepted by cl-typep, which see.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-macs.el.gz
;; Closure converted to defun by helpful.
(defun cl-type--pcase-macroexpander
    (type)
  "Pcase pattern that matches objects of TYPE.\nTYPE is a type descriptor as accepted by `cl-typep', which see."
  `(pred
    (pcase--flip cl-typep ',type)))