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