On this page
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–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/core/getPlatform