1 |
49598
|
stefanos.g
|
/**
|
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 |
|
|
export declare const PLATFORM_BROWSER_ID = "browser";
|
9 |
|
|
export declare const PLATFORM_SERVER_ID = "server";
|
10 |
|
|
export declare const PLATFORM_WORKER_APP_ID = "browserWorkerApp";
|
11 |
|
|
export declare const PLATFORM_WORKER_UI_ID = "browserWorkerUi";
|
12 |
|
|
/**
|
13 |
|
|
* Returns whether a platform id represents a browser platform.
|
14 |
|
|
* @experimental
|
15 |
|
|
*/
|
16 |
|
|
export declare function isPlatformBrowser(platformId: Object): boolean;
|
17 |
|
|
/**
|
18 |
|
|
* Returns whether a platform id represents a server platform.
|
19 |
|
|
* @experimental
|
20 |
|
|
*/
|
21 |
|
|
export declare function isPlatformServer(platformId: Object): boolean;
|
22 |
|
|
/**
|
23 |
|
|
* Returns whether a platform id represents a web worker app platform.
|
24 |
|
|
* @experimental
|
25 |
|
|
*/
|
26 |
|
|
export declare function isPlatformWorkerApp(platformId: Object): boolean;
|
27 |
|
|
/**
|
28 |
|
|
* Returns whether a platform id represents a web worker UI platform.
|
29 |
|
|
* @experimental
|
30 |
|
|
*/
|
31 |
|
|
export declare function isPlatformWorkerUi(platformId: Object): boolean;
|