@angular-devkit/core
Version:
Angular DevKit - Core Utility Library
14 lines (13 loc) • 396 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/**
* Determine if the argument is shaped like a Promise
*
* @deprecated Use `typeof obj?.then === 'function'` instead.
*/
export declare function isPromise(obj: any): obj is Promise<any>;