Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

isDevMode

Returns whether Angular is in development mode.

See more...

      
      isDevMode(): boolean
    
Parameters

There are no parameters.

Returns

boolean

See also

Description

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.