isLiteral

Checks if an alias is a literal

enum isLiteral (
T...
)

Examples

int a;
void f() {}
assert( isLiteral!3);
assert( isLiteral!"hi");
assert(!isLiteral!int);
assert(!isLiteral!a);
assert(!isLiteral!f);

Meta