@ende/collections/partition

ende add jsr:@ende/collections

Version 2026.10.15 on JSR.

Exports

  • partition — Returns a tuple of two arrays with the first one containing all elements in the given array that match the given predicate and the second one containing all that do not.