Function: map-empty-p

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

Signature

(map-empty-p MAP)

Documentation

Return non-nil if MAP is empty.

The default implementation delegates to map-length.

Other relevant functions are documented in the map group.

Shortdoc

;; map
(map-empty-p nil)
    => t
  (map-empty-p [])
    => t
  (map-empty-p 'nil)
    => t

Implementations

(map-empty-p (MAP list)) in `map.el'.

Undocumented

(map-empty-p MAP) in `map.el'.

Undocumented

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/map.el.gz
(cl-defgeneric map-empty-p (map)
  "Return non-nil if MAP is empty.
The default implementation delegates to `map-length'."
  (zerop (map-length map)))