mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 14:05:12 +00:00
5 lines
368 B
TypeScript
5 lines
368 B
TypeScript
export declare function find<T>(record: Record<string, T>, predicate: (v: T) => boolean): T | undefined;
|
|
export declare function forEach<T>(record: Record<string, T>, run: (v: T, key: string) => void): void;
|
|
export declare function includes<T>(arr: T[], value: T): boolean;
|
|
export declare function findArr<T>(record: T[], predicate: (v: T) => boolean): T | undefined;
|