Function: -partition-before-item
-partition-before-item is a byte-compiled function defined in dash.el.
Signature
(-partition-before-item ITEM LIST)
Documentation
Partition directly before each time ITEM appears in LIST.
Source Code
;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -partition-before-item (item list)
"Partition directly before each time ITEM appears in LIST."
(declare (pure t) (side-effect-free t))
(-partition-before-pred (lambda (ele) (equal ele item))
list))