Function: -value-to-list
-value-to-list is a byte-compiled function defined in dash.el.
Signature
(-value-to-list VAL)
Documentation
Convert a value to a list.
If the value is a cons pair, make a list with two elements, car
and cdr of the pair respectively.
If the value is anything else, wrap it in a list.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -value-to-list (val)
"Convert a value to a list.
If the value is a cons pair, make a list with two elements, `car'
and `cdr' of the pair respectively.
If the value is anything else, wrap it in a list."
(declare (pure t) (side-effect-free t))
(if (-cons-pair? val) (-cons-to-list val) (list val)))