isPlatformServer
function
npm Package | @angular/common |
---|---|
Module | import { isPlatformServer } from '@angular/common'; |
Source | common/src/platform_id.ts |
function isPlatformServer(platformId: Object): boolean;
Description
Returns whether a platform id represents a server platform.
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/common/isPlatformServer