isDevMode

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

查看"说明"...

isDevMode(): boolean
      
      isDevMode(): boolean
    
参数

没有参数。

返回值

boolean

说明

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