On this page
isDevMode
function experimental
| npm Package | @angular/core | 
|---|---|
| Module | import { isDevMode } from '@angular/core'; | 
     
| Source | core/src/application_ref.ts | 
function isDevMode(): boolean;
  Description
Returns whether Angular is in development mode. After called once, the value is locked and won't change any more.
By default, this is true, unless a user calls enableProdMode before calling this.
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v5.angular.io/api/core/isDevMode