• Overview
@angular/core

isDevMode

function

Returns whether Angular is in development mode.

API

  
    function isDevMode(): boolean;
  
  

isDevMode

boolean

Returns whether Angular is in development mode.

By default, this is true, unless enableProdMode is invoked prior to calling this method or the application is built using the Angular CLI with the optimization option.

@returnsboolean

Description

Returns whether Angular is in development mode.

By default, this is true, unless enableProdMode is invoked prior to calling this method or the application is built using the Angular CLI with the optimization option.

Jump to details