Function: seq-empty-p

seq-empty-p is a byte-compiled function defined in seq.el.gz.

Signature

(seq-empty-p SEQUENCE)

Documentation

Return non-nil if the SEQUENCE is empty, nil otherwise.

Other relevant functions are documented in the sequence group.

View in manual

Shortdoc

;; sequence
(seq-empty-p [])
    => t

Implementations

(seq-empty-p (LIST list)) in `seq.el'.

Optimized implementation of `seq-empty-p' for lists.

(seq-empty-p SEQUENCE) in `seq.el'.

Undocumented

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/seq.el.gz
(cl-defgeneric seq-empty-p (sequence)
  "Return non-nil if the SEQUENCE is empty, nil otherwise."
  (= 0 (seq-length sequence)))