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.

10 lines (9 loc) 283 B
type FirstOptions<TRecord> = { records: Array<TRecord>; }; /** * @description * Use this helper to get the last record in the record set, or null if the record set is empty. */ export declare const last: <TRecord>(options: FirstOptions<TRecord>) => TRecord | null; export {};