@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.
12 lines (11 loc) • 312 B
TypeScript
import type { Query } from 'sift';
type EveryOptions<TRecord> = {
query?: Query<TRecord>;
records: Array<TRecord>;
};
/**
* @description
* Use this method to check if every record matches the given query.
*/
export declare const every: <TRecord>(options: EveryOptions<TRecord>) => boolean;
export {};