assertPlatform
function
Checks that there is currently a platform that contains the given token as a provider.
API
assertPlatform( requiredToken: any): PlatformRef;
Jump to details
Checks that there is currently a platform that contains the given token as a provider.
assertPlatform( requiredToken: any): PlatformRef;