Function
deprecate (message, test, options) public
Module:
@ember/debug
Defined in packages/@ember/debug/lib/deprecate.ts:161
Available since v1.0.0
- message
- String
- A description of the deprecation.
- test
- Boolean
- A boolean. If falsy, the deprecation will be displayed.
- options
- Object
Display a deprecation warning with the provided message and a stack trace (Chrome and Firefox only).
- In a production build, this method is defined as an empty function (NOP). Uses of this method in Ember itself are stripped from the ember.prod.js build.