Scope.isDeprecated

Checks whether the current scope (or any of its parents) is deprecated.

struct Scope
extern (C++) @safe @nogc pure nothrow const
bool
isDeprecated
()

Return Value

Type: bool

true if this or any parent scope is deprecated, false otherwise`

Suggestion Box / Bug Report