Function: seq-min

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

Signature

(seq-min SEQUENCE)

Documentation

Return the smallest element of SEQUENCE.

SEQUENCE must be a sequence of numbers or markers.

Other relevant functions are documented in the sequence group.

View in manual

Shortdoc

;; sequence
(seq-min [1 2 3])
    => 1

Implementations

(seq-min SEQUENCE) in `seq.el'.

Undocumented

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/seq.el.gz
(cl-defgeneric seq-min (sequence)
  "Return the smallest element of SEQUENCE.
SEQUENCE must be a sequence of numbers or markers."
  (apply #'min (seq-into sequence 'list)))