UNPKG

@future-widget-lab/record-set

Version:

A dedicated data structure for in-memory record collections, offering fluent, immutable APIs for MongoDB-like querying, sorting, and transformation.

11 lines (10 loc) 291 B
type LimitOptions<TRecord> = { count: number; records: Array<TRecord>; }; /** * @description * Use this helper to take at most `count` records from the start of the record set. */ export declare const limit: <TRecord>(options: LimitOptions<TRecord>) => Array<TRecord>; export {};