Function: -repeat
-repeat is a byte-compiled function defined in dash.el.
Signature
(-repeat N X)
Documentation
Return a new list of length N with each element being X.
Return nil if N is less than 1.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -repeat (n x)
"Return a new list of length N with each element being X.
Return nil if N is less than 1."
(declare (side-effect-free t))
(and (>= n 0) (make-list n x)))