assertPlatform

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

assertPlatform(requiredToken: any): PlatformRef

参数

requiredToken

Type: any.

返回值

PlatformRef