collections.chunk
Split a list into consecutive batches of at most n items, in order; the last batch may be short.
chunk in TypeScript
1.0.0
py rs ts
11 tests
collections.dedupe-by-key
Remove records that share a key value, keeping the first or the last of each, in input order.
dedupeByKey in TypeScript
1.0.0
py rs ts
14 tests
collections.diff
Compare two lists of records by key: which were added, which removed, and which changed and in what fields.
diffByKey in TypeScript
1.0.0
py rs ts
18 tests
collections.group-by-key
Group records by the value at one key, preserving input order inside each group.
groupByKey in TypeScript
1.0.0
py rs ts
18 tests
collections.paginate
Slice a list into a 1-based page and report the totals an API response needs.
paginate in TypeScript
1.0.0
py rs ts
18 tests
collections.search-text
Filter records by a case-insensitive substring match across named fields, in input order.
searchText in TypeScript
1.0.0
py rs ts
20 tests
collections.sort-by
Stably sort records by one key, ascending or descending, with a total order across mixed types.
sortBy in TypeScript
1.0.0
py rs ts
21 tests
subscriptions.dunning-schedule
Retry dates for a failed subscription payment from a retry policy, in calendar or business days.
dunningSchedule in TypeScript
1.0.0
py rs ts
14 tests