You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
368 B
5 lines
368 B
2 weeks ago
|
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;
|