isDevMode
Returns whether Angular is in development mode.
API
function isDevMode(): boolean;
@returns
boolean
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.
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/isDevMode