Help Angular by taking a 1 minute survey!Go to surveyHome

assertPlatform

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

assertPlatform(requiredToken: any): PlatformRef
      
      assertPlatform(requiredToken: any): PlatformRef
    
Parameters
requiredToken any
Returns

PlatformRef