Scope.isDeprecated

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

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

Return Value

Type: bool

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

Meta