getPlatform
function experimental
| npm Package | @angular/core |
|---|---|
| Module | import { getPlatform } from '@angular/core'; |
| Source | core/src/application_ref.ts |
function getPlatform(): PlatformRef|null;
Description
Returns the current platform.
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/core/getPlatform