type or typeof a variable
class Class1 { } struct Struct1 { void opAssign(int*) { } } assertFalse(isNullTestable!Struct1); assertTrue(isNullTestable!Class1); assertTrue(isNullTestable!(int*)); assertFalse(isNullTestable!UnittestTestStruct); assertFalse(isNullTestable!int); class Class2 { @disable this(); } assertTrue(isNullTestable!Class2);
Checks if type is null testable