assertPlatform
Checks that there is currently a platform that contains the given token as a provider.
API
function assertPlatform(requiredToken: any): PlatformRef;
@paramrequiredToken
any
@returns
PlatformRef
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/assertPlatform