UNPKG

560 BTypeScriptView Raw
1import { MaybePromise } from './executor.js';
2export declare function isIterableObject(value: unknown): value is Iterable<unknown>;
3export declare function isObjectLike(value: unknown): value is {
4 [key: string]: unknown;
5};
6export declare function isPromise<T>(value: any): value is PromiseLike<T>;
7export declare function promiseReduce<T, U>(values: Iterable<T>, callbackFn: (accumulator: U, currentValue: T) => MaybePromise<U>, initialValue: MaybePromise<U>): MaybePromise<U>;
8export declare function hasOwnProperty(obj: unknown, prop: string): boolean;