API > @angular/coremode_edit codegetPlatformlinkfunctionReturns the current platform.getPlatform(): PlatformRef | null getPlatform(): PlatformRef | null 参数没有参数。返回值PlatformRef | null