isPlatformBrowser

function

Returns whether a platform id represents a browser platform.

isPlatformBrowser(platformId: Object): boolean

Parameters
platformId Object
Returns

boolean

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/common/isPlatformBrowser