@extra-array/scan-while (npm): Scans from left, while a test passes.
Keywords: extra|array|scan|while|scanWhile|accumulate|adjacent-combine|cartesian-product|chunk|clear|compare|concat|copy|copy-within|count|count-each|cut|cut-at|cut-at-right