--- layout: stdlib-reference --- # attribute [deprecated] ## Description Mark a declaration as deprecated. ## Signature
[deprecated(message : String)]## Parameters #### message : [String](../types/string-0/index.html) The diagnostic message to show when the declaration is used. ## See also [RemovedSince].