Project

General

Profile

1
/**
2
 * @license
3
 * Copyright Google Inc. All Rights Reserved.
4
 *
5
 * Use of this source code is governed by an MIT-style license that can be
6
 * found in the LICENSE file at https://angular.io/license
7
 */
8
import { Observable } from 'rxjs/Observable';
9
/**
10
 * Determine if the argument is shaped like a Promise
11
 */
12
export declare function isPromise(obj: any): obj is Promise<any>;
13
/**
14
 * Determine if the argument is an Observable
15
 */
16
export declare function isObservable(obj: any | Observable<any>): obj is Observable<any>;
(2-2/2)