W3cubDocs

/Angular 4 TypeScript

isPlatformServer

Experimental Function

Class Export

export isPlatformServer(platformId: Object) : boolean

Returns whether a platform id represents a server platform.

exported from common/index defined in common/src/platform_id.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/common/index/isPlatformServer-function.html