Function: -cons-to-list

-cons-to-list is a byte-compiled function defined in dash.el.

Signature

(-cons-to-list CON)

Documentation

Convert a cons pair to a list with car and cdr of the pair respectively.

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -cons-to-list (con)
  "Convert a cons pair to a list with `car' and `cdr' of the pair respectively."
  (declare (pure t) (side-effect-free t))
  (list (car con) (cdr con)))