• Overview
@angular/core

getPlatform

function
stable

Returns the current platform.

API

function getPlatform(): PlatformRef | null;

getPlatform

Returns the current platform.

@returnsPlatformRef | null
Jump to details