Function: -const

-const is a byte-compiled function defined in dash.el.

Signature

(-const C)

Documentation

Return a function that returns C ignoring any additional arguments.

In types: a -> b -> a

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -const (c)
  "Return a function that returns C ignoring any additional arguments.

In types: a -> b -> a"
  (declare (pure t) (side-effect-free error-free))
  (lambda (&rest _) c))