Function: seq-max

seq-max is an autoloaded and byte-compiled function defined in seq-25.el.

Signature

(seq-max SEQUENCE)

Documentation

Return the largest element of SEQUENCE.

SEQUENCE must be a sequence of numbers or markers.

Other relevant functions are documented in the sequence group.

Shortdoc

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

Implementations

(sequence) in `seq-25.el'.

Undocumented

Source Code

;; Defined in ~/.emacs.d/elpa/seq-2.24/seq-25.el
;;;###autoload
(cl-defgeneric seq-max (sequence)
  "Return the largest element of SEQUENCE.
SEQUENCE must be a sequence of numbers or markers."
  (apply #'max (seq-into sequence 'list)))