@angular/common

isPlatformBrowser

function

Returns whether a platform id represents a browser platform.

  
    isPlatformBrowser(  platformId: Object): boolean;
  
  
Jump to details