@nestia/sdk
Version:
Nestia SDK and Swagger generator
6 lines (5 loc) • 325 B
TypeScript
export declare namespace ArrayUtil {
function has<T>(array: T[], ...items: T[]): boolean;
function asyncMap<Input, Output>(array: Input[], closure: (input: Input) => Promise<Output>): Promise<Output[]>;
function asyncFilter<Input>(array: Input[], closure: (input: Input) => Promise<boolean>): Promise<Input[]>;
}