API > @angular/core mode_edit code getPlatformlink function Returns the current platform. getPlatform(): PlatformRef | null getPlatform(): PlatformRef | null Parameters There are no parameters. Returns PlatformRef | null