Function: byte-opt--negate

byte-opt--negate is a byte-compiled function defined in byte-opt.el.gz.

Signature

(byte-opt--negate FORM)

Documentation

Negate FORM, avoiding double negation if already negated.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/byte-opt.el.gz
(defsubst byte-opt--negate (form)
  "Negate FORM, avoiding double negation if already negated."
  (if (and (consp form) (memq (car form) '(not null)))
      (cadr form)
    `(not ,form)))