assertPlatform
function
Checks that there currently is a platform which contains the given token as a provider.
assertPlatform(requiredToken: any): PlatformRef
Parameters
requiredToken | Type: |
Returns
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/core/assertPlatform