getPlatform
function
stable
Returns the current platform in the browser environment. In the server environment,
returns null
. If you need access to the platform information, inject PlatformRef
in your application.
getPlatform
PlatformRef | null
Returns the current platform in the browser environment. In the server environment,
returns null
. If you need access to the platform information, inject PlatformRef
in your application.
@returns
PlatformRef | null
Jump to details