Function: plistp

plistp is a byte-compiled function defined in compat-29.el.

Signature

(plistp OBJECT)

Documentation

[Compatibility function for plistp, defined in Emacs 29.1. See (compat) Emacs
29.1' for more details.]

Non-nil if and only if OBJECT is a valid plist.

Source Code

;; Defined in ~/.emacs.d/elpa/compat-30.1.0.1/compat-29.el
(compat-defun plistp (object) ;; <compat-tests:plistp>
  "Non-nil if and only if OBJECT is a valid plist."
  (let ((len (proper-list-p object)))
    (and len (zerop (% len 2)))))