填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

assertPlatform

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

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

PlatformRef