W3cubDocs

/Angular 11

isDevMode

function

Returns whether Angular is in development mode. After called once, the value is locked and won't change any more.

See more...

isDevMode(): boolean

Parameters

There are no parameters.

Returns

boolean

Description

By default, this is true, unless a user calls enableProdMode before calling this.

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/core/isDevMode