This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

isPlatformServer

Returns whether a platform id represents a server platform.

isPlatformServer(platformId: Object): boolean
      
      isPlatformServer(platformId: Object): boolean
    

Parameters

platformId

Type: Object.

Returns

boolean