assertPlatform

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

assertPlatform(requiredToken: any): PlatformRef
      
      assertPlatform(requiredToken: any): PlatformRef
    
参数
requiredToken any
返回值

PlatformRef