dist/bundles/ng-user-admin.umd.js
function assertPlatform(requiredToken) {
    var /** @type {?} */ platform = getPlatform();
    if (!platform) {
        throw new Error('No platform exists!');
    }
    if (!platform.injector.get(requiredToken, null)) {
        throw new Error('A platform with a different configuration has been created. Please destroy it first.');
    }
    return platform;
}
function assertPlatform(requiredToken) {
    var /** @type {?} */ platform = getPlatform();
    if (!platform) {
        throw new Error('No platform exists!');
    }
    if (!platform.injector.get(requiredToken, null)) {
        throw new Error('A platform with a different configuration has been created. Please destroy it first.');
    }
    return platform;
}
function assertPlatform ( requiredToken ) { var /** @type {?} */ platform = getPlatform ( ) ; if ( ! platform ) { throw new Error ( 'No platform exists!' ) ; } if ( ! platform . injector . get ( requiredToken , null ) ) { throw new Error ( 'A platform with a different configuration has been created. Please destroy it first.' ) ; } return platform ; }
Checks that there currently is a platform
which contains the given token as a provider.

\@experimental APIs related to application bootstrap are currently under review.
@param {?} requiredToken
@return {?}
Checks that there currently is a platform which contains the given token as a provider .