UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

10 lines (9 loc) 245 B
import { partition as partition$1 } from "../../array/partition.mjs"; //#region src/fp/array/partition.ts function partition(predicate) { return function(array) { return partition$1(array, predicate); }; } //#endregion export { partition };