WXL
3 天以前 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7
1
2
3
4
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;