function
Returns whether Angular is in development mode.
isDevMode(): boolean
There are no parameters.
boolean
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.
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/isDevMode