isLvalue

Is true if sym is an l-value, false otherwise.

enum isLvalue (
alias sym
)

Examples

int i;
string s;
static assert(isLvalue!i);
static assert(isLvalue!s);
// static assert(!isLvalue!13);
// static assert(!isLvalue!"a");

See Also

Meta