Namespace: deprecation

Method

warn

package   static

warn(name, deprecationDate, deletionDate, opt_use)

Warn developers that a function or property is deprecated.

Parameter

name

string

The name of the function or property.

deprecationDate

string

The date of deprecation. Prefer 'month yyyy' or 'quarter yyyy' format.

deletionDate

string

The date of deletion, in the same format as the deprecation date.

opt_use

Optional

string

The name of a function or property to use instead, if any.