isProperty

Tells you if a symbol is an @property

Members

Manifest constants

isProperty
enum isProperty;
Undocumented in source.
isProperty
enum isProperty;
Undocumented in source.

Examples

int i;
@property void f() {}

struct S {
    int i;
    @property void f(int i) {}
}

static assert(!isProperty!(i));
static assert( isProperty!(f));
static assert(!isProperty!(S.i));
static assert( isProperty!(S.f));

Meta