isNullType

True if T is of type null

template isNullType (
T...
) if (
T.length == 1
) {}

Members

Aliases

U
alias U = from.bolts.traits.symbols.TypesOf!T[0]
Undocumented in source.

Manifest constants

isNullType
enum isNullType;
Undocumented in source.

Examples

int a;
int *b = null;
struct C {}
C c;
void f() {}
static assert(isNullType!null);
static assert(isNullType!a == false);
static assert(isNullType!b == false);
static assert(isNullType!c == false);
static assert(isNullType!f == false);

Meta