Function: -juxt

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

Signature

(-juxt &rest FNS)

Documentation

Return a function that is the juxtaposition of FNS.

The returned function takes a variable number of ARGS, applies each of FNS in turn to ARGS, and returns the list of results.

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -juxt (&rest fns)
  "Return a function that is the juxtaposition of FNS.
The returned function takes a variable number of ARGS, applies
each of FNS in turn to ARGS, and returns the list of results."
  (declare (pure t) (side-effect-free error-free))
  (lambda (&rest args) (mapcar (lambda (x) (apply x args)) fns)))