getPlatform

From Get docs
< @angular/coreAngular/docs/9/api/core/getplatform


getPlatform

function

Returns the current platform.

getPlatform(): PlatformRef | null

Parameters

There are no parameters.

Returns

PlatformRef | null


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/core/getPlatform