Function: -partition-before-pred
-partition-before-pred is a byte-compiled function defined in dash.el.
Signature
(-partition-before-pred PRED LIST)
Documentation
Partition directly before each time PRED is true on an element of LIST.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -partition-before-pred (pred list)
"Partition directly before each time PRED is true on an element of LIST."
(declare (important-return-value t))
(nreverse (-map #'reverse
(-partition-after-pred pred (reverse list)))))