assertPlatform

From Get docs
< @angular/coreAngular/docs/11/api/core/assertplatform /
Revision as of 02:14, 6 December 2021 by Notes (talk | contribs) (Page commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


assertPlatform

function

Checks that there is currently a platform that contains the given token as a provider.

assertPlatform(requiredToken: any): PlatformRef

Parameters
requiredToken any
Returns

PlatformRef


© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/core/assertPlatform