1 2 3
export function isPromise(object: any): object is Promise<any> { return Promise.resolve(object) === object; }
No recent searches