isDevMode()

Experimental Function

Class Export

export isDevMode() : boolean

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

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

exported from @angular/core/index defined in @angular/core/src/application_ref.ts

doc_Angular
2016-10-06 09:46:37
Comments
Leave a Comment

Please login to continue.