Function: map-values

map-values is a byte-compiled function defined in map.el.gz.

Signature

(map-values MAP)

Documentation

Return the list of values in MAP.

The default implementation delegates to map-apply.

Other relevant functions are documented in the map group.

Shortdoc

;; map
(map-values (list 'bar 1 'foo 2 'baz 3))
    => (1 2 3)
  (map-values (list '(bar . 1) '(foo . 2) '(baz . 3)))
    => (1 2 3)
  (map-values [bar foo baz])
    => (bar foo baz)
  (map-values #s(hash-table data (bar 1 foo 2 baz 3)))
    => (1 2 3)

Implementations

(map-values (MAP array)) in `map.el'.

Convert MAP into a list.

(map-values MAP) in `map.el'.

Undocumented

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/map.el.gz
(cl-defgeneric map-values (map)
  "Return the list of values in MAP.
The default implementation delegates to `map-apply'."
  (map-apply (lambda (_ value) value) map))